Re: tutorial failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I changed the code as follows:

<html>
	<head>
		<title>php test
		</title>
	</head>
	<body>
		<?php phpinfo ?>
		<?php
			echo "<p>Hi, I am a PHP script</p>";
		?>
		<p>
		this is a test
		</p>
	</body>
</html>

The result (http://localhost/test.php):

Hi, I am a PHP script

"; ?>

this is a test

If I use single quotes characters:

Hi, I am a PHP script

'; ?>

this is a test

The phpinfo instruction does not seem to be recognised. What else
should I check?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux