Note that there are some explanatory texts on larger screens.

plurals
  1. POChange Database Automaticly after certain time
    primarykey
    data
    text
    <p>Okay, I wonder how to get my Database Table to change at a certain time.</p> <p><strong>Example :</strong></p> <p>After 1 hour after submitting the form automaticly change to Prio 2 After 3 hours automaticly change to Prio 3 </p> <p>Thats what I need.. </p> <p>This is the code I use to read the table : </p> <pre><code>&lt;?php include("db.php"); $result=mysql_query("SELECT * FROM lijst where archief='0' ORDER BY FIND_IN_SET(prio, '#ffaeae,#fff5ae,#ffffff')"); while($test = mysql_fetch_array($result)) { $id = $test['ticketID']; echo"&lt;tr style='background:". $test['prio'].";'&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;".$test['aangemeld']."&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;".$test['status']."&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;" .$test['klant']."&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;" .$test['naam']."&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;". $test['achternaam']. "&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;". $test['telefoon']. "&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;". $test['onderwerp']. "&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td width='300px'&gt;&lt;font color='black'&gt;". $test['probleem']. "&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;". $test['terugb']. "&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;font color='black'&gt;". $test['Tijd']. " door : ". $test['wijziging']. "&lt;/font&gt;&lt;/td&gt;"; echo"&lt;td&gt;&lt;a href ='view.php?ticketID=$id'&gt;&lt;small class='icon pencil'&gt;&lt;/small&gt;&lt;span&gt;Wijzig&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href ='move.php?ticketID=$id'&gt;Afgehandeld&lt;/a&gt;&lt;/td&gt;"; echo "&lt;/tr&gt;"; } mysql_close($conn); ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload