Re: Strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux