You are here: Re: php ignoring code after greater than sybmol « PHP Programming Language « IT news, forums, messages
Re: php ignoring code after greater than sybmol

Posted by Jerry Stuckle on 08/18/06 03:12

dennis.mcknight@gmail.com wrote:
> new to php -- please help.
>
> it seems like php is treating any '>' character as the end of my code
> segment, even when it's embedded in a string, as shown
>
> <?
> $s="THIS IS MY TEST > STRING";
> ?>
>
> please advise -- it seems like something stupid. i'm running with PHP
> 5.1.4 + PECL on Apache 2.0.58.
>
> thanks!
>

Are you sure it's ignoring anything after the '>'? Or is in not working
because short tags is off?

Try using <?php to start your PHP code instead.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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