-
ciao a tutti , spero qualcuno possa aiutarmi .... ho questo codice php :
$qvr=mysql_query("SELECT * from comuni where frn_region='".$province."' order by city Asc") or die(mysql_error());
if (mysql_num_rows($qvr)>0)
{
while($rig=mysql_fetch_array($qvr))
{
$p.="<h2 class="h2link"><a href='".$site['dir'].$rig['cityid']."citta-".str_replace(" ","_",strtolower($rig['city'])).".html' class="lien" title="alberghi ".strtolower($rig['city'])." , albergo ".strtolower($rig['city'])." , hotel ".strtolower($rig['city'])." , motel ".strtoupper($rig['city']).""><b> Hotel ".$rig['city']." </b></a></h2>";
}
}NON VEDO NULLA DI STRANo .... ma ricevo questo ERRORE :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
-
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
