PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can anyone tell me what the difference between refering to calling a function but placing a @ symbol before it and calling it normally without @ symbol?
The @ is used to suppress errors. mysql_num_rows() always returns true unless the result you're pointing at hasn't returned correctly - e.g. the query has failed. If you expect that to happen, you should probably terminate output before you call mysql_num_rows(): e.g.