Results 1 to 5 of 5
Nov 24, 2012, 07:12 #1
- Join Date
- Oct 2012
- 0 Post(s)
- 0 Thread(s)
How to display error when no rows available?
I have a MySQL Database with a coupe of rows and a page setup to display the data in mysql. To do so, I go to www.site.com/example.php?id=2 and it iwll bring me the row 2 of data from the database.
However, is it possible if someone enters www.site.com/example.php?id=100, it will bring out an error message if there is no id 100?