bruce wrote:
i have the following:
<html>
<body>
<?
$test = "<p";
echo $test;
print $test;
?>
</body>
</html>
it doesn't seem to print... which leads me to
> believe that "<" is a reserved char/word...
i tried to do a "\<p" with no luck...
any idea as to what's going on, and can someone
> point me to a list of the actual php reserved
> chars/words.... couldn't seem to track them down
> on the php site/google...
< is not reserved. The problem is your HTML.
Your result ends up like this:
<html>
<body>
<p <p </body>
</html>
which is just badly formed HTML, not PHP.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals â www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php