All mysql_-statments replaced by their corresponding mysqli_-statements
[cacert-devel.git] / pages / account / 34.php
index b11bc7d..5c6c8b8 100644 (file)
 */ ?>
 <?
        $query = "select * from `orgdomains` where `id`='".intval($_REQUEST['orgid'])."'";
-       $row = mysql_fetch_assoc(mysql_query($query));
+       $row = mysqli_fetch_assoc(mysqli_query($_SESSION['mconn'], $query));
        $query = "select * from `orginfo` where `id`='".intval($_REQUEST['orgid'])."'";
-       $org = mysql_fetch_assoc(mysql_query($query));
+       $org = mysqli_fetch_assoc(mysqli_query($_SESSION['mconn'], $query));
        $query = "select * from `users` where `id`='".intval($_REQUEST['memid'])."'";
-       $user = mysql_fetch_assoc(mysql_query($query));
+       $user = mysqli_fetch_assoc(mysqli_query($_SESSION['mconn'], $query));
 
        $_SESSION['_config']['domain'] = $row['domain'];
 ?>