Try,

<?PHP
echo "This is a test<br>\n";
?>

Some systems are configured to not allow the shorthand "<?" and instead
REQUIRE the full code start "<?PHP"


- John Vanderbeck
- Admin, GameDesign (http://gamedesign.incagold.com/)
- GameDesign, the industry source for game design and development issues


> -----Original Message-----
> From: Alvaro Collado [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 8:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Problem with PHP 4.0.5
>
>
> I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache.
> When I run the test no problem, all is OK, but when I run a html
> index file in Netscape ( LocalHost )
> whith a single code like this
>
> <? echo("Anythig"); ?>
>
> nothing was display, nothing.
>
> When I change the code for an know error for example <xxxx >
> Netscape prints the full text of the tag
> "<xxxx >" .
>
> Please help me.
>
> Thanks
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to