I'm new to php. I downloaded and installed the following:
1. php-5.2.8-win32 (zip file--I followed the manual installation steps from the manual)
2. apache httpd server 2.2.11.
I tested the installation using
Code: Select all
<?php
phpinfo();
?>My problem is it cannot recognize a newline character (\n). For example,
Code: Select all
<?php
echo "Hello \n";
echo "World";
?>Hello World
It should be like this:
Hello
World
I tried using
Code: Select all
<?php
echo "Hello" . "<br>";
echo "World";
?>Thanks.
--Ric