- Sep 3, 2003
- 1,043
- 0
- 0
I'm having problems using the escape sequences/strings in php. For example, when i write:
<?php
echo("Hello\nBye");
?>
The output ends up looking like:
Hello Bye
I have tried using printf, print, all with the same result. Additionally, \t , \r don't work. I know php is running properly because when i type phpinfo(), it works. Furthermore, i can write loops, all the usual php syntax works. I installed the latest version of wamp, version 2, that comes along with php 5.2.6. I am running windows xp.
<?php
echo("Hello\nBye");
?>
The output ends up looking like:
Hello Bye
I have tried using printf, print, all with the same result. Additionally, \t , \r don't work. I know php is running properly because when i type phpinfo(), it works. Furthermore, i can write loops, all the usual php syntax works. I installed the latest version of wamp, version 2, that comes along with php 5.2.6. I am running windows xp.
