MySQL Forums
Forum List  »  Newbie

Re: Why am I getting and Empty Querry
Posted by: Barry Galbraith
Date: April 27, 2015 08:50PM

$SQL = "SELECT `blogID`, `blogTitle`, `blogAuthor`, `blogImg`, `blogDate`, `blogText` FROM `blog`";

if (mysqli_query($conn, $sql)) {

php is case sensitive.
$SQL and $sql are not the same variable.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Why am I getting and Empty Querry
April 27, 2015 08:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.