Guys, I have a problem with my PHP and MySQL, and I think its either my code or the way I installed MySQL and PHP. This is what happens:
$QueryResult = @mysqli_query($DBConnect, $SQLString)
Or die(“
unable to execute query.
”);. "
Error code " . mysqli_errno($DBConnect)
. ": " . mysqli_error($DBConnect)) . “
echo “
Successfully executed the query.
”;if (mysqli_num_rows($QueryResult) == 0)
die(“
You must enter a valid Email Address and Password! Click your browser’s Back button to return to the login page.</p.”);
mysqli_close($DBConnect);
Im trying to get the $QueryResult to display, but it will not. I am using a sample From a Book so I think the Code Works. Everything Else Works. I can connect to the DB, just not this Query Result…
HELP!!!