Re: String delimeters, arg!

From: Date: Tue, 01 May 2001 21:07:24 +0000
Subject: Re: String delimeters, arg!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51019@lists.php.net to get a copy of this message
Hello PHP'ers I am having a problem with string delimiters. For some reason no matter what I do I can not get them to process correctly!! For example, <? $area_entered = "yes"; $date_entered = "no"; echo "$area_entered\t\t\t$date_entered<br>"; ?> That outputs: yes no What am I doing wrong?! Is there something I need to set in the php.ini file? I would like to be able to type \n instead of <br> repeatidly! Do you see this output in a browser window? If you does, then never mind. Browsers are allowed to change the look of your HTML source in a way that replacing multiple whitespaces with a single space (i really don't know they are allowed to...) So it's a HTML stuff. maybe you can nest your output into a <pre></pre>. This tag handles \n \t and other HTML tags also.

« previous php.general (#51019) next »