Posted 31 March 2006 - 01:01 PM
the problem is that the second page shows all of the records except the one that was just added.
after a lot of testings, i've tried to manualy refresh the database (mysql-front). after i did that, i've refreshed my page and lost record was found.
is that the way it suppose to be?
if so, is there a function in php that refreshes the database?
Posted 31 March 2006 - 01:29 PM
PHP doesn't have a function that can refresh the database. However MySQL does cache the queries prehaps if you use [a href=\"http://uk2.php.net/manual/en/function.mysql-free-result.php\" target=\"_blank\"]mysql_free_result()[/a] it may solve this.
Posted 31 March 2006 - 01:34 PM
Posted 31 March 2006 - 01:36 PM
Posted 31 March 2006 - 01:51 PM
I say old chap, that is rather amusing!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users