Jump to content

You have an error ...


Deivas

Recommended Posts

For example I have:

$data123 = mysql_query("SELECT * FROM servers WHERE type = '$type' LIMIT $offset, $rowsPerPage")
                                            or die(mysql_error());

 

If the type is not selected nothing prints out. What can I do to make it if nothing is selected all results print out?

Link to comment
https://forums.phpfreaks.com/topic/195054-you-have-an-error/
Share on other sites

For example I have:

$data123 = mysql_query("SELECT * FROM servers WHERE type = '$type' LIMIT $offset, $rowsPerPage")
                                            or die(mysql_error());

 

If the type is not selected nothing prints out. What can I do to make it if nothing is selected all results print out?

 

FIXED.

Link to comment
https://forums.phpfreaks.com/topic/195054-you-have-an-error/#findComment-1025354
Share on other sites

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.