miren tengo el siguiente codigo
Código PHP:
$sql=mysql_query("select * from filtros where nom= x and id= y;");
while ($row = mysql_fetch_array($sql) ){
if (campo == fase) sql1 .= "fase = ".$row[valor]." OR ";
if (campo == sitio) sql2 .= "sitio = ".$row[valor]." OR ";
if (campo == zona) sql3 .= "zona = ".$row[valor]." OR ";
}
me tira el siguiente error Parse error: syntax error, unexpected T_CONCAT_EQUAL in C:\AppServ\www\sitio\ver.php
si alguien sabe en que estoy fallando
les agradeceria su ayuda
saludos