coolguy23
May 18th, 2001, 11:54
you guys helped me make this script
<center><html><body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF"
vlink="#FFFFFF" alink="#FFFFFF">
<?$i=empty($i)?1:floor($i)?>
<img src="http://imagine.netfirms.com/img/<?=$i?>.jpg"> <br>
<p><font size="1" face="Arial,Verdana"><a href="<?=$PHP_SELF?>?i=<?=$i+1?>">Next Image</a>
|
<a href="<?=$PHP_SELF?>?i=<?=$i-1?>">Previous Image</a></font></p>
</center>
</html>
but there seems to be a problem, i have my images like 0001, 0002 and soo on but when i put .../display.php?i=0001 it shows picture 1.jpg instead of 0001.jpg
can someone fix this for me? woofcat? any1?
thanks
<center><html><body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF"
vlink="#FFFFFF" alink="#FFFFFF">
<?$i=empty($i)?1:floor($i)?>
<img src="http://imagine.netfirms.com/img/<?=$i?>.jpg"> <br>
<p><font size="1" face="Arial,Verdana"><a href="<?=$PHP_SELF?>?i=<?=$i+1?>">Next Image</a>
|
<a href="<?=$PHP_SELF?>?i=<?=$i-1?>">Previous Image</a></font></p>
</center>
</html>
but there seems to be a problem, i have my images like 0001, 0002 and soo on but when i put .../display.php?i=0001 it shows picture 1.jpg instead of 0001.jpg
can someone fix this for me? woofcat? any1?
thanks