<?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[un notice difficile da togliere]]></title><description><![CDATA[<p dir="auto">Ragazzi, ho un problema dalla quale non riesco a venirne a capo!<br />
Ho questa funzione contenuta nella classe home_class</p>
<pre><code class="language-php">function del_mail_input($mail,$user){
global $db_prefix;
$this-&gt;check = new check_istance();
$this-&gt;check-&gt;user($user,2);
$this-&gt;check-&gt;mail($mail,2);
$this-&gt;row_c = mysql_fetch_array($this-&gt;check-&gt;action);

if($this-&gt;row_c[mail] == $mail)
           {
/*Legenda:*/
#new send_mail(E-Mail,tipo,User)
#tipo 1: E-Mail di conferma
#Tipo 2:E-Mail di eliminazione
#$send_mail = new send_mail($mail,1,$user,$row[pass]);
$action = mysql_query("DELETE FROM ".$db_prefix."phpnewsletter_users WHERE user = '$user'");
if($action)
                      {
echo "Ti sei cancellato dalla Net-NewsLetter con successo!";
                  }
else
        {
echo "Ci sono stati errori del database!Per favore, contatta il &lt;a href=mailto://\"$webmaster_mail\"&gt;WebMaster&lt;/a&gt; informandolo sull'errore.";
       }
  }
else
{
echo "La mail &lt;/i&gt;&lt;b&gt;".$mail."&lt;/b&gt;&lt;/i&gt; risulta inesistente nel nostro database...controlla meglio!";
                           }


        }
</code></pre>
<p dir="auto">Ma quando elimino un utente, mi da questo notice:</p>
<p dir="auto"><strong>Notice</strong>:  Use of undefined constant mail - assumed 'mail' in <strong>C:\Programmi\Apache Group\Apache\htdocs\FILE\newsletter\classi\home_class.php</strong> on line <strong>116</strong><br />
Ti sei cancellato dalla Net-NewsLetter con successo!</p>
<p dir="auto">e la riga sarebbe questa:</p>
<p dir="auto">if($this-&gt;row_c[mail] == $mail)</p>
<p dir="auto">Help!</p>
]]></description><link>https://dev.connect.gt/topic/83193/un-notice-difficile-da-togliere</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 02:25:50 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/83193.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Sep 2008 08:20:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to un notice difficile da togliere on Sat, 20 Sep 2008 09:20:02 GMT]]></title><description><![CDATA[<p dir="auto">Ho risolto!<br />
avendo messo un error_reporting(E_ALL), ho provato con<br />
if($this-&gt;row_c['mail'] == $mail)<br />
con gli apici, e non mi da notice!</p>
]]></description><link>https://dev.connect.gt/post/761544</link><guid isPermaLink="true">https://dev.connect.gt/post/761544</guid><dc:creator><![CDATA[ilnetsurfer]]></dc:creator><pubDate>Sat, 20 Sep 2008 09:20:02 GMT</pubDate></item></channel></rss>