Jump to content

Weird MySQLi Error


MarkT
 Share

Recommended Posts

Hi,

I have this code;

<?PHP include "./system/connect.php" ?>

<?PHP
$check = mysqli_query($con,"SELECT * FROM index");
$check2 = mysqli_fetch_array($check);
?>
However, on the website it gives this; Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /home/a5813772/public_html/index.html on line 13
Any ideas?
Thanks
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...