Page 1 of 1

Refresh data from MySQL

Posted: Thu Jan 29, 2004 3:11 am
by nopc
Hi,

i am the beginner in PHP programing. Hope somebody got the problem same as me. Let start i create the program look like the discussion board. i am posted the question the program insert my question into MySQL table and comeup with that question in the list when i refresh it Okay notthing wrong(my computer install PHP and MySQL). But when i used the same step with other computer (same network connect to my computer) i got the problem like this:
[1] Once i post the question it store in server database fine.
[2] When i refresh the new question not show i try to logoff and login again it still not work but after 5 or 10 min i refresh again it copeup with the new question

Anybody please tell me WHY?

Thank in advance
-------------------------
nopc

hmmmmm....

Posted: Fri Jan 30, 2004 9:15 am
by randomblink
I am not an expert in ANY way, shape or form...
However, I have had similar problems with PHP/MySQL and here is how I fixed them...

On the computer that is NOT showing the updates...
Go into the browser settings...
Check and make sure that the browser is checking for newer versions of pages EVERY VISIT to the page...
Sometimes, the PHP doesn't get executed because the browser knows it has a recent copy of the executed PHP stored in memory...

Hope that helps...

In case you are working with Internet Explorer...
Here are the steps to do what I just explained...

Tools -> Internet Options
Tab: General -> Button: Settings
Option: Every visit to the page

Good luck to ya...

Orrrrrrrrrrr,,,,rrr

Posted: Tue Feb 03, 2004 8:37 pm
by nopc
Thank you very much for your information i also used internet explorer and try to set the internet option as you mention... but it still not work... Any information....

-----------------------
nopc