RE: [PHP] String delimeters, arg!
| From: | Johnson, Kirk | Date: | Tue, 01 May 2001 19:55:29 +0000 |
| Subject: | RE: [PHP] String delimeters, arg! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51001@lists.php.net to get a copy of this message | ||
> 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?!
The \n and \t control the layout of the source code, but it is still the
HTML that determines what the browser renders. Do a View Source when you
display the page above, and you will see
yes no<br>
as the source which outputs
yes no
Kirk