Related Articles
How to Show Errors in PHP
Below script is to show errors in PHP, the error_reporting function will show all the error.You have to initialize at the start of PHP tag.
Best way to loop through a PHP mysql Resultset
If you want to loop throuh the mysql result set twice then use below way. $result = mysql_query(“SELECT * FROM my_table”);while($row = mysql_fetch_assoc($result)) {// inside the loop} The problem is, if you want to loop through the same result set again, you will get an error because the internal pointer is currently at the end […]