RE: [PHP] arrays and php
| From: | Chris W. Parker | Date: | Tue, 30 Sep 2003 18:32:35 +0000 |
| Subject: | RE: [PHP] arrays and php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164438@lists.php.net to get a copy of this message | ||
Jason Wong <mailto:php-general@gremlins.biz>
on Tuesday, September 30, 2003 11:27 AM said:
>>>> echo "<pre>".print_r($chk)."</pre>";
>>>>
>>>> It will not work.
>
> Actually, the above *does* work!
Not for me. (Although we may be testing different things.)
<?
$pageTitle = "Checkout Step One";
echo "<pre>".print_r($pageTitle)."</pre>";
?>
Gives me:
Checkout Step One<pre>1</pre>
If I use the , it's a little closer but still not correct (at least not
what I want). With , I get:
<pre>Checkout Step One1</pre>
Close but I don't know where the one is coming from. Maybe it's saying
it's 'true'?
Chris.