Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Queria saber por que erro :
Parse error: parse error, expecting ','' or ';'' in f:\easyphp1-8\www\lol\mercado\home.php on line 35
a Line é :
echo "<td width="95" valign="top"><img src="imagens/Photo1.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
porem o script php é esse
<?
if($Array[6] == 1){
echo "<td width="95" valign="top"><img src="imagens/Photo1.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
}
elseif($Array[6] == 2){
echo "<td width="95" valign="top"><img src="imagens/Photo2.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
}
elseif($Array[6] == 3){
echo "<td width="95" valign="top"><img src="imagens/Photo3.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
}
elseif($Array[6] == 4){
echo "<td width="95" valign="top"><img src="imagens/Photo4.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
}
elseif($Array[6] == 5){
echo "<td width="95" valign="top"><img src="imagens/Photo5.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
}
else{
echo "<td width="95" valign="top"><img src="imagens/undefined.png" alt="Image" width="130" height="200" style="border: none;" /></td>";
}
?>
o que esta acontecendo por favor ? agradeço des de ja
Carregando comentários...