Tag Info

New answers tagged

1

So, my understanding is this operation is triggered by activity within the application the triggering activity may occur up to several times per second although the operation is triggered many times per second it should only execute once every ten minutes. A one-column table would suffice: create table Mutex (LastExecuted datetime NOT NULL); insert ...


0

Try the following. Worked for me. Form names must equal to database column names Get the values as below: foreach ($_GET as $formName => $value) { $sql = mysql_query("UPDATE table_name SET $formName = '$value' WHERE ID= $id"); } You will first need to insert an ID before the foreach loop. you can get next id by doing: SELECT MAX(id) FROM ..... ...



Top 50 recent answers are included