This sounds like a caching problem. A MySQL query should not return until it
has been committed. Is the delete field and display table code on the same
page -- if so, are you using POST? If not, try adding this to the header of
the page:
<?php
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?>
Jevon (copy and pasting from PHP website)
On Tue, Nov 25, 2008 at 10:05 PM, Jmumby <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Anyway of getting mysql to tell php that the query you just executed
> is completed. I have a page where I execute a query and immediately
> afterwards it displays the table but this seems to happen a bit quick
> as it shows the field I just deleted. Refresh and the field is gone.
>
> Thx
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---