First of all, thank you for your reply. I have tried to use 'mysql_pconnect()' to connect to my database, but what I want to achieve are these:
1) Value for "Field_A" is "Value_A" and value for "Field_B" is "Value_B", by default 2) I load my "getData.php" page and get the values ("Valua_A, Valua_B") 3) Then, I manually edit the value for "Field_A" to "new_Valua_A" and Field_B to "new_Value_B". 4) The page that I loaded in step 2 still keep the old values ("Valua_A, Valua_B") Question: ========= Could my .php page ALWAYS get the latest values WITHOUT reload the page? Thanks. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- ascll <[EMAIL PROTECTED]> wrote: > > Could I use the PHP to maintain a persistent connection with MySQL > > database? > > Yes: > > www.php.net/mysql_pconnect > > > My persistent connection here should work in this way: - > > > > 1) Using the .php file the retrieve data from Table_A that contain > > 2 fields 'Field_A' and 'Field_B', with the value 'Value_A' and > > 'Value_B' respectively 2) Once the value for 'Field_A' and 'Field_B' > > changed to 'Value_C' and 'Value_D', my .php page should be changed > > accordingly, in real time. > > That makes no sense to me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php