Re: simple yet weird... help pls
| From: | Rasmus Lerdorf | Date: | Thu, 14 Mar 2002 16:23:24 +0000 |
| Subject: | Re: simple yet weird... help pls | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88540@lists.php.net to get a copy of this message | ||
> Please take a look at the script below.
> If i want to show an image it doesnt work if it's under an if statement.
> Why in this case?
>
> <?
> $feedb=0;
> if($feedb==0){ echo "<img scr='somepic.jpg'>";}
> echo "<img src='somepic.jpg'>";
> ?>
> How can i solve this problem?
By spelling src correctly.
-Rasmus