You are here: Why is '>' interpreted as end-tag? « PHP Language « IT news, forums, messages
Why is '>' interpreted as end-tag?

Posted by Henk van Winkoop on 09/08/05 13:20

Hello,

my little code...

<html>
<head>
</head>
<body>
<?php
if (&var > 33){&var=0;}
?>
</body>
</html>

------------------------------------------------------------
why is in next line:

if (&var > 33){&var=0;}

the '>' character interpreted as php endtag and the browser shows:

" 33){&var=0;}......"
------------------------------------------------------------
why does next line ('>' is replaced by '&gt;') work fine???

if (&var &gt; 33){&var=0;}
------------------------------------------------------------

anybody has any idea?

Thanks

Henk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация