تفضلوا
مع تحياتيكود PHP:
if (!$click) {$flag='1';}
if ($click>0)
{
echo '<a href=thisfile.php?click='.$flag.'>Click here to hide the image</a>'
.'<br /><img src="image.gif">';
}
else
{
echo '<a href=thisfile.php?click='.$flag.'>Click here to show the image</a>';
echo '<br /><br />Image is Not Here!';
}