I am trying to do something which I'm not even sure can be done.
I want php to load an image if certain conditions are met.
below is the code i'm playing with. Can someone please provide feedback
<?php
$x=1;
if ($x == 1) <IMG SRC="images/ComingSoon_Middle1_Mid.jpg" WIDTH=304 HEIGHT=130 ALT="">
?>
so if $x=1 then I want the image to load.. else I want another image to load (not in the code yet).
I want php to load an image if certain conditions are met.
below is the code i'm playing with. Can someone please provide feedback
<?php
$x=1;
if ($x == 1) <IMG SRC="images/ComingSoon_Middle1_Mid.jpg" WIDTH=304 HEIGHT=130 ALT="">
?>
so if $x=1 then I want the image to load.. else I want another image to load (not in the code yet).