simple yet weird... help pls
| From: | Simon De Deyne | Date: | Thu, 14 Mar 2002 15:49:54 +0000 |
| Subject: | simple yet weird... help pls | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88524@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?
thank you!
Simon