Looping problems
Posted: Wed Jan 03, 2007 6:30 am
feyd | Please use
This supposed to create a list of images, when I tried it on the localhost it works! but when i upload it to the server, the pictures did not appeared
to see the problem pls follow this link
http://www.rahmat79.com/Labo/index.php? ... 35&list=12
thanks
rhmt
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi guys,
Please Help me..
I've tried this simple codeCode: Select all
print("<ul>");
for ($i = 0;$i<$num;$i++) {
print ("<li><a href='index.php?init=porto&prod=".$prod."&num=".$num."&list=".$i."'><img src='images/".$prod."/thumb/".$prod.$i.".jpg' border='0' alt='thumb' /></a></li>");
print("<p>this ".$i."</p>");
}
print("</ul>");to see the problem pls follow this link
http://www.rahmat79.com/Labo/index.php? ... 35&list=12
thanks
rhmt
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]