Re: Strings
| From: | Richard Lynch | Date: | Tue, 05 Jun 2007 22:48:38 +0000 |
| Subject: | Re: Strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256139@lists.php.net to get a copy of this message | ||
It would really help if you didn't use funky characters for quote that
aren't quote in your email.
It would help even more if you copy/paste your actual script.
On Tue, June 5, 2007 12:50 pm, Steve Marquez wrote:
> The following code works:
>
> <?php
>
> $image = ³²;
>
> if ($image == NULL) {
> print ³False!²;
> }else{
> print ³$var²;
> }
>
> ?>
>
> However, this does not:
>
> <?php
>
> $image = ³²;
>
> if ($image == NULL) {
> print ³False!²;
> }else{
> print ³<img src=\²$var\²>²;
> }
>
> ?>
>
> It seems that if I add a string, rather than just the variable, then
> does
> not work. I am getting an unexpected T_IS_EQUAL error.
>
> --
> Thanks,
> Steve Marquez
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?