<?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[funzione checkdate]]></title><description><![CDATA[<p dir="auto">Scusate,ma non riesco a capire dov'è l'errore.<br />
Questa è la parte di codice Html relativa alla data</p>
<pre><code class="language-html">&lt;input name="giorno" type="text" id="giorno" size="2" maxlength="2"&gt;
        &amp;nbsp;&lt;font color="#000099"&gt;mm&lt;/font&gt; 
        &lt;input name="mese" type="text" id="mese" size="2" maxlength="2"&gt;
        &lt;font color="#000099"&gt;aaaa &lt;/font&gt;
&lt;input name="anno" type="text" id="anno" maxlength="4"&gt;&lt;/td&gt;
</code></pre>
<p dir="auto">E questa è la parte di codice Php</p>
<pre><code class="language-php">if (empty($giorno))
{
echo "Attenzione:devi inserire il giorno";
return false;
}
if (empty($mese))
{
echo "Attenzione:devi inserire il mese";
return false;
}
if (empty($anno))
{
echo "Attenzione:devi inserire l'anno";
return false;
}

if (checkdate($mese,$giorno,$anno))
{
echo "Attenzione: la data non è valida";
exit;
}
</code></pre>
<p dir="auto">Purtroppo qualsiasi data inserisco va bene,non mi fa nessun controllo</p>
]]></description><link>https://dev.connect.gt/topic/109675/funzione-checkdate</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 17:54:56 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/109675.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Sep 2009 19:00:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to funzione checkdate on Mon, 07 Sep 2009 17:56:35 GMT]]></title><description><![CDATA[<p dir="auto">Nessuno mi può aiutare?</p>
]]></description><link>https://dev.connect.gt/post/855275</link><guid isPermaLink="true">https://dev.connect.gt/post/855275</guid><dc:creator><![CDATA[ranz]]></dc:creator><pubDate>Mon, 07 Sep 2009 17:56:35 GMT</pubDate></item></channel></rss>