On Wed, 14 Feb 2001 14:04, Deependra B. Tandukar wrote:
> Greetings!
>
> I know "\n" gives the new line and "\t" gives the tab. Is there any
> other code for them because this is not working in the web server where
> I host my web pages?
>
> Looking froward to hearing from you.
>
> Regards,
> DT
When you say 'not working' , do you mean that you don't see a line break
in your browser where the \n has been inserted?
This is correct behaviour - \n, \t and multiple space characters are all
treated as white space by browsers and rendered as a single space. If you
want to insert a line break you need to use <BR>, and you can use a
series of to mimic a tab. There are better ways of handling this
using CSS.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
--
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]