Parse error: syntax error, unexpected T_VARIABLE Piccolo Aiutino :)

nikit0

Nuovo Utente
3 Mar 2008
4
0
0
Parse error: syntax error, unexpected T_VARIABLE in /web/htdocs/www.********.com/home/chatview.php on line 10


PHP:
<html>
<head><meta http-equiv="refresh" content="10,chatview.php"></head>
<body>
<?php
$connection=mysql_connect('62.149.150.68',’Sql169573’,'74777f42') or die ("Errore di connessione");
mysql_select_db('Sql169573_1',$connection);
$actualtime=time();
$refresh=mysql_query("DELETE FROM chat WHERE timein+600<'$actualtime'",$connection);
$exec_reading=mysql_query("SELECT * FROM chat WHERE locazione='$locazione_attuale' ORDER BY timein DESC",$connection)
$numrows=mysql_num_rows($exec_reading);
if($numrows !=0)
{
for($x=0;$x<$numrows;$x++)
{
$resrow=mysql_fetch_row($exec_reading); /*recupero tutti i messaggi non cancellati della tabella*/
$nomeChat=$resrow[0];
$messChat=stripslashes($resrow[1]);
echo $messChat;
}
}
?>
</body>
</html>

Attendo risposta! grazie a tutti
 
Discussioni simili
Autore Titolo Forum Risposte Data
W Parse error: syntax error, unexpected '$result' (T_VARIABLE) PHP 4
G [WordPress] [PHP] Parse error: syntax error, unexpected '$x332cbce1' WordPress 2
U [PHP] Parse error: syntax error, unexpected variabile (T_VARIABLE) PHP 8
G Parse error: syntax error, unexpected '=' PHP 2
gandalf1959 Parse error: syntax error, unexpected T_VARIABLE PHP 2
Z Parse error: syntax error, unexpected 'parts' (T_STRING), expecting ',' or ';' PHP 2
T Nuova installazione vB: Parse error: syntax error, unexpected T_STRING ... CMS (Content Management System) 0
K Parse error: syntax error, unexpected $end PHP 2
H Parse error: syntax error, unexpected T_SL in /membri/sito/pagina.php... PHP 2
M parse error:syntax error,unexpected T_STRING PHP 2
P Parse error: syntax error, unexpected T_STRING on line 5 PHP 7
J Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in PHP 3
L Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' PHP 1
T [PHP] ...Parse error che non c'è... PHP 7
N [PHP] problema Parse error in file configurazione PHP 3
F Aiuto PHP : Parse error PHP 1
L AGORA - Parse error PHP 5
D Parse Error Login PHP 2
L responseXML -> xml parse error XML 2
B Parse error PHP 66
U Parse Error PHP 6
W Area riservata: Parse error PHP 2
G Script Bash linux parse Programmazione 10
K Notifiche con parse.com Sviluppo app per Android 1
neo996sps Non riesco a fare un parse XML con PHP PHP 1
F inviare dati ottenuti da "parse script" PHP 5
S 404 Error " Page not Find" Error SEO e Posizionamento 0
L Error Code: 1215. Cannot add foreign key constraint MySQL 3
M HTTP Status 500 - Internal Server Error. Java 0
A Uncaught Error: jQuery 1
F Uncaught (in promise) Error: 3000ms timeout exceeded Javascript 0
U Campo vuoto data errore Fatal error: PHP 2
W ADODB.Recordset error '800a0bb9' Classic ASP 2
D error text in table HTML e CSS 11
W Microsoft OLE DB Provider for Visual FoxPro error '80040e14' Function name is missing ). Classic ASP 0
W Errore di run-time di Microsoft VBScript error '800a0035' Impossibile trovare il file Classic ASP 0
I Fatal error: Query Failed! SQL: SELECT * INTO OUTFILE PHP 1
G Upload file error Apache 0
A Server Apache immagine not found (ERROR 404) Apache 5
L [PHP] Fatal error: Call to a member function prepare() on null in PHP 0
D [PHP] Fatal error: Class 'COM' not found in C:\..... PHP 6
T MySQL ERROR 1064 MySQL 1
T [PHP] aiuto....Fatal error: Uncaught Error:non riesco a capire PHP 1
C [PHP] Errore "Fatal error: Call to undefined function getTotalUsers()" PHP 2
V [MySQL] You have an error in your SQL syntax MySQL 1
G PHPMailer: SMTP error Gmail PHP 8
I [PHP] Login Facebook SDK returned an error: No URL set! PHP 0
bubino8 [PHP] Query syntax error PHP 6
J [PHP] Recoverable fatal error: PHP 4
momeraths [WordPress] cURL error: problema aggiornamento/installazione plugin WordPress 4

Discussioni simili