echo "<br><br><br>CONGRATS! The db connected properly.";
and the output is:
PROFILES LISTING:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result see more resource in /homez.110/facecook/www/inc/classes/BxDolPageView.php(281) : eval()'d code on line 5
i've tried it and it waorks fine for me until i introduce the mysql_fetch.
the code is:$MySQL = new CMySQL;
$res = db_arr( "SELECT NickName FROM `Profiles`" );
echo "PROFILES LISTING:<BR>";
$row=mysql_fetch_array($res);
echo $row["NickName"];
echo "<br><br><br>CONGRATS! The db connected properly.";
and the output is:
PROFILES LISTING:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result see more