View Full Version : T_LNUMBER error

10-27-2009, 04:51 PM
Parse error: syntax error, unexpected T_LNUMBER in /home/www/free/uv.ro/rudolf.uv.ro/php/eroare.php on line 1229
Line 1229:

<td width="425"><input type="radio" name="Banners" value="13" <?php if($banners=="13"){echo "checked";} ?> onClick="Cont_pag4()"><img src="banners/gel.jpg" width="188" onMouseOver="resizeL(this)" onMouseOut="resizeS(this)"></td></tr>
Lines 1227 and 1228:

<td width="425"><input type="radio" name="Banners" value="11" <?php if($banners=="11"){echo "checked";} ?> onClick="Cont_pag4()"><img src="banners/dune.jpg" width="188" onMouseOver="resizeL(this)" onMouseOut="resizeS(this)"></td></tr>
<tr><td width="425"><input type="radio" name="Banners" value="12" <?php if($banners=="12"){echo "checked";} ?> onClick="Cont_pag4()"><img src="banners/elasticity.jpg" width="188" onMouseOver="resizeL(this)" onMouseOut="resizeS(this)"></td>
What's the problem? Thank you in advance.

10-27-2009, 04:58 PM
There's nothing wrong with those lines. Maybe it's 1330?

Phil Jackson
10-27-2009, 04:58 PM
try taking " out from all occasions of $banners=="{number}"

10-27-2009, 06:14 PM
try taking " out from all occasions of $banners=="{number}"

Uhmm...sorry for the delay...
anyway...because of your suggestion, I found out what the problem was....it was actually line 1225... it was if($banners==""9){echo ....
So....thank you very much :)