<?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[problema aggiornare pagina]]></title><description><![CDATA[<p dir="auto">ciao ragazzi ho questo problema:</p>
<p dir="auto">ho una pagina formcontatti in cui ho un elenco di contatti presi dal db, ora se clicco su elimina mi si apre una finestra in cui se digito ok elimina il contatto dalla tabella del db e la finestra si chiude. però il problema è che se non aggiorno la pagina il contatto rimane visualizzato nella pagina <a href="http://formcontatti.io" rel="nofollow ugc">formcontatti.io</a> vorrei che dopo che chiudo la finestra mi aggiorni la pagina facendo sparire il contatto.</p>
<p dir="auto">mi potete dare un aiuto xfavore xche mi sono bloccato</p>
<pre><code>Codice PHP:
 		 		[LEFT] 			 &lt;?php 
</code></pre>
<p dir="auto">//Includo i file per la connessione<br />
//e per la verifica Utente<br />
require_once('connessione.php');<br />
require_once('verificalogin.php');</p>
<p dir="auto">?&gt;</p>
<p dir="auto">&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow ugc">http://www.w3.org/1999/xhtml</a>"&gt;<br />
&lt;head&gt;<br />
&lt;script type="text/javascript" src="/componente/funzioni.js"&gt;<br />
&lt;/script&gt;<br />
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;<br />
&lt;title&gt;Documento senza titolo&lt;/title&gt;&lt;/head&gt;</p>
<p dir="auto">&lt;body&gt;<br />
&lt;p&gt;&lt;strong&gt;AGGIUNGI NUOVI CONTATTI AL TUO GRUPPO &lt;/strong&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;a href="formaggiungicontatti.php?idlista=&lt;?=$_GET[idlista]?&gt;"&gt;Aggiungi un nuovo contatto&lt;/a&gt;&lt;/td&gt;</p>
<p dir="auto">&lt;/body&gt;<br />
&lt;/html&gt;<br />
&lt;?php</p>
<p dir="auto">if(IsSet($_SESSION['utenteM'])){</p>
<p dir="auto">$user=$_SESSION['utenteM'][0];<br />
//echo $user;</p>
<pre><code> $query1 ="Select * from include where idlista = '$_REQUEST[idlista]'";  
 $result1 = mysql_query($query1) or die("Errore nella query1:".mysql_error());  
 $numrows = mysql_num_rows($result1); 
  
// echo $numrows; 
  
  
  
 $query1 ="Select * from include where idlista = '$_REQUEST[idlista]'";  
 $result1 = mysql_query($query1) or die("Errore nella query1:".mysql_error());  
 for($x=0; $x&lt;$numrows; $x++){ 
 $resrow = mysql_fetch_row($result1); 
 $idutente=$resrow['1']; 

 //echo $idutente; 
  
 $query2 ="Select * from utente WHERE idutente = '$idutente'"; 
 $ris=mysql_query($query2) or die("Errore nella query2:".mysql_error()); 
  $row = mysql_fetch_assoc($ris);  
 $nome = $row['nome']; 
</code></pre>
<p dir="auto">//echo "&lt;br&gt;$nome";</p>
<pre><code> ?&gt; 
  
 &lt;table width="98" border="2"&gt; 
 &lt;tr&gt; 

&lt;td width="86" height="42"&gt;&lt;?php  echo $nome; ?&gt;&lt;/a&gt; 
</code></pre>
<p dir="auto">&lt;td height="40"  colspan="4"&gt;&lt;a href="formeliminacontatto.php?idutente=&lt;?=$idutente?&gt;" onClick="newWindow(this.href, 'popup', 300, 150, 1, 1, 0, 0, 0, 1, 0); return false;" target="_blank"&gt;elimina contatto&lt;/a&gt;&lt;p&gt; &lt;/p&gt;&lt;/td&gt;</p>
<pre><code>&lt;?php echo "&lt;br&gt;"; ?&gt;&lt;/td&gt; 
&lt;/tr&gt; 
</code></pre>
<p dir="auto">&lt;/table&gt;</p>
<pre><code> &lt;?php 
  
     } 
 ?&gt; 
  
 
     
&lt;?php 
</code></pre>
<p dir="auto">}// chiusura if<br />
else<br />
{<br />
echo "errore";</p>
<p dir="auto">}</p>
<p dir="auto">?&gt;   		[/LEFT]</p>
<pre><code>Codice PHP:
 		 		[LEFT] 			 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; 
</code></pre>
<p dir="auto">&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow ugc">http://www.w3.org/1999/xhtml</a>"&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;<br />
&lt;title&gt;Documento senza titolo&lt;/title&gt;<br />
&lt;/head&gt;</p>
<p dir="auto">&lt;body&gt;<br />
&lt;?php<br />
$idutente= $_REQUEST[idutente];<br />
//echo $idutente;<br />
?&gt;</p>
<p dir="auto">Sei sicuro di voler eliminare?<br />
&lt;form name="formok" method="post" action="eliminacontatto.php"&gt;<br />
&lt;input name="idutente" type="hidden" value="&lt;?php echo $idutente;?&gt;"&gt;<br />
&lt;input name="ok" type="submit" value="ok" onClick="window.close()"/&gt;<br />
&lt;/p&gt;<br />
&lt;/form&gt;<br />
&lt;form name="formmannulla" method="post" action="modificatutor.php"&gt;<br />
&lt;input name="Input" type="submit" value="annulla" onClick="window.close()";/&gt;<br />
&lt;/form&gt;</p>
<p dir="auto">&lt;/body&gt;<br />
&lt;/html&gt;  		[/LEFT]</p>
<pre><code>Codice PHP:
 		 		 			 &lt;?php 
</code></pre>
<p dir="auto">//Includo i file per la connessione<br />
//e per la verifica Utente</p>
<p dir="auto">require_once('connessione.php');<br />
require_once('verificalogin.php');</p>
<p dir="auto">$idutente = $_POST['idutente'];</p>
<p dir="auto">if(IsSet($_SESSION['utenteM'])){</p>
<pre><code>$query = "DELETE FROM utente WHERE idutente='$_REQUEST[idutente]'";  
$ris=mysql_query($query) or die("Errore nella query:".mysql_error()); 
 
$query = "DELETE FROM include WHERE idutente='$_REQUEST[idutente]'";  
$ris=mysql_query($query) or die("Errore nella query:".mysql_error()); 
  
//$var = $_REQUEST[idlista]; 
 //echo $var; 
</code></pre>
<p dir="auto">//echo "&lt;br&gt;&lt;a href='formliste.php'&gt;Torna all' homepage&lt;/a&gt;";</p>
<p dir="auto">}else<br />
{<br />
echo "errore";</p>
<p dir="auto">}</p>
<p dir="auto">?&gt;</p>
]]></description><link>https://connect.gt/topic/21812/problema-aggiornare-pagina</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 21:44:06 GMT</lastBuildDate><atom:link href="https://connect.gt/topic/21812.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Nov 2006 19:16:20 GMT</pubDate><ttl>60</ttl></channel></rss>