Page is a not externally linkable
brokaddr - 10:12 pm on Jun 20, 2012 (gmt 0)
I went through and changed a bit of my code to start using mysqli_*
However, this finnicky bit won't go away:
This works (currently): return mysql_fetch_assoc($db_query);
Changing to: return mysqli_fetch_assoc($db_query);
Results:
PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /*/database.php on line 103
PHP Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /*/database.php on line 48
Line 48:
$result = mysqli_query($$link, $query);
Line 103:
return mysqli_fetch_assoc($db_query);
Any tips on what I'm doing wrong?