<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[inserire data e ora in tempo reale]]></title><description><![CDATA[<p dir="auto">ciao a tutti:devochiedere una cosa forse un pò banale ma che non ho capito come fare.<br />
io inserisco nel db un esercizo e vorrei metterci anche la data dell'inserimento.<br />
cioè quando inserisco i dati, ci sia anche un campo che indica la data e ora dell'inserimento.</p>
<pre><code>$strSQL = "INSERT INTO esercizio(argomentoesercizio,testo,inviosoluzione,titoloesercizio)"; 
$strSQL .= "VALUES('$argomentoesercizio','$testo', '$inviosoluzione','$titoloesercizio')";
mysql_query($strSQL)OR die("Errore nella query1:".mysql_error());
</code></pre>
]]></description><link>https://dev.connect.gt/topic/18240/inserire-data-e-ora-in-tempo-reale</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Dec 2026 22:11:15 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/18240.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Oct 2006 07:48:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to inserire data e ora in tempo reale on Thu, 05 Oct 2006 12:53:27 GMT]]></title><description><![CDATA[<p dir="auto">creati un campo data o anche timestamp<br />
e usa la query</p>
<p dir="auto">$strSQL = "INSERT INTO esercizio(argomentoesercizio,testo,inviosoluzione,titoloesercizio,campodata)";<br />
$strSQL .= "VALUES('$argomentoesercizio','$testo', '$inviosoluzione','$titoloesercizio',NOW())";<br />
mysql_query($strSQL)OR die("Errore nella query1:".mysql_error());</p>
]]></description><link>https://dev.connect.gt/post/377787</link><guid isPermaLink="true">https://dev.connect.gt/post/377787</guid><dc:creator><![CDATA[czero]]></dc:creator><pubDate>Thu, 05 Oct 2006 12:53:27 GMT</pubDate></item><item><title><![CDATA[Reply to inserire data e ora in tempo reale on Thu, 05 Oct 2006 11:19:39 GMT]]></title><description><![CDATA[<p dir="auto">devi crearti la data corrente con le funzioni per le date...es mkdate()  controlla sulla reference per la sintassi.</p>
]]></description><link>https://dev.connect.gt/post/377786</link><guid isPermaLink="true">https://dev.connect.gt/post/377786</guid><dc:creator><![CDATA[nedone]]></dc:creator><pubDate>Thu, 05 Oct 2006 11:19:39 GMT</pubDate></item></channel></rss>