Originalmente inviato da
debug
Puoi postare lo script?
Ciaoo!!
Certo!
Codice PHP:
<?
session_start();
include ("../config.inc.php");
?>
<link rel="stylesheet" href="../stile.css" type="text/css">
<title>Risultati della ricerca</title>
<script language="JavaScript">
function apri(theURL,winName,features) {
window.open(theURL,winName,features);
}
</script>
<body bgcolor="#000000" text="#000000" alink="#000000" link="#000000" vlink="#000000" leftmargin="0"
topmargin="0" marginwidth="0" marginheight="0">
<?PHP
$CRITERIO=$_POST['CRITERIO'];
?><div align="center">
<table width=60% border=0 cellspacing=0 cellpadding=0>
<tr><td class="table1">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr>
<td class="header" height=20><font class="RedB">Nome</font></td>
<td class="header" height=20><font class="RedB"> </font></td>
<td class="header" height=20><font class="RedB"> </font></td>
<td class="header" height=20><font class="Redb">Squadra</font></td>
</tr>
<tr>
<td colspan=4>
<?PHP
$sqlonline = "SELECT
USERS.USERNAME,USERS.SIMBOLOTEAM,USERS.NOMESQUADRA,USERS.URLSESSO FROM USERS WHERE 1 AND USERNAME LIKE '%' ORDER BY USERNAME ASC";
$conteggio = mysql_query($sqlonline,$connessione) or die(mysql_error());
$CONTA = 0;
while($ROW3 = mysql_fetch_array($conteggio))
{
$USERNAME=$ROW3["USERNAME"];
$SIMBOLOTEAM=$ROW3["SIMBOLOTEAM"];
$NOMESQUADRA=$ROW3["NOMESQUADRA"];
$URLSESSO=$ROW3["URLSESSO"];
$num=1;
while($array=mysql_fetch_assoc($conteggio)){
echo $num.". ".$array['USERNAME']." <img src='../img/".$array['URLSESSO']."'> <img src='../img/team/".$array['SIMBOLOTEAM']."'> ".$array['NOMESQUADRA']."<br>\n";
$num++;
}
?>
<?
}
@mysql_close ($connessione);
?>
</table></td>
</tr>
</table>
</body>
Dov'è l'errore?