Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/03/2013, 07:42
SantoMacias
 
Fecha de Ingreso: marzo-2013
Mensajes: 3
Antigüedad: 11 años, 2 meses
Puntos: 0
Error : Parse error: syntax error, unexpected T_STRING

Error : Parse error: syntax error, unexpected T_STRING in /home/xxx/public_html/ban.php on line 11

Linea 11 : ****if(isset($_POST['submit']))*

Código PHP:
<h2>Banlist</h2> 
**<table> 
****<tr> 
******<th*class="topLine">ID</th> 
******<th*class="topLine">Account</th> 
******<th*class="topLine">Status</th> 
******<th*class="topLine">E-Mail</th> 
****</tr> 
**<?PHP 
** 
****if(isset(
$_POST['submit']))* 
****{ 
******
$sqlCmd*=*"SELECT*id,login,email,create_time,status*FROM*account.account*WHERE*(login*LIKE*'%".mysql_real_escape_string($_POST['accsuche'])."%'*OR*id='".$_POST['accsuche']."')*AND*status='BLOCK'*ORDER*BY*login*ASC"
****} 
****else* 
****{ 
******
$sqlCmd*=*"SELECT*id,login,email,create_time,status*FROM*account.account*WHERE*status='BLOCK'*ORDER*BY*login*ASC"
****} 
**** 
****
$sqlQry*=*mysql_query($sqlCmd,$sqlServ); 
****
$x=0
****while(
$getAccs=mysql_fetch_object($sqlQry))* 
****{ 
******if((
$x%2)==0)* 
******{* 
********
$zF="tdunkel";* 
******} 
******else* 
******{* 
********
$zF="thell";* 
******} 
****** 
******if(
$getAccs->status=='OK')*{*$accZustand="#026113";*} 
******elseif(
$getAccs->status=='BLOCK')*{*$accZustand="#AA0319";*} 
****** 
******echo
"<tr> 
******<td*class=\"$zF\">"
.$getAccs->id."</td>\n 
******<td*class=\"$zF\">"
.$getAccs->login."</a></td>\n 
******<td*class=\"$zF\"*style=\"color:$accZustand;\">"
.$getAccs->status."</td>\n 
******<td*class=\"$zF\">"
.$getAccs->email."</td>\n 
******</tr>\n"

******
$x++; 
****} 
**
?> 
**</table>
Gracias de antemano

Última edición por SantoMacias; 18/03/2013 a las 08:10