Jump to content

mysqli_fetch_array() expects parameter 1 to be mysqli_result


jakebur01

Recommended Posts

the issue is your syntax.  when specifying multiple where clauses, you don't repeat the "where:"

 

$result=mysqli_query($db, "SELECT Breed_id, Breed from dog_breed where `Breed_id` >= '0' and `Breed_id` <= '93' order by Breed_id asc ");//

 

also have a look through the MySQL manual for the BETWEEN operator:

 

$result=mysqli_query($db, "SELECT Breed_id, Breed from dog_breed where `Breed_id` BETWEEN '0' AND '93' order by Breed_id asc ");//.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.