cinek Posted November 3, 2010 Share Posted November 3, 2010 I'm scanning a folder for images, if there's more then 1 image, I want to display a "more" link. (I have done this). Now when you click the link, I want to direct the user to a link like this index.php?id=X ? and how do I fill the page out?how can I do that? I'm not sure what it's called, searching for ?id= on google is not much help Link to comment Share on other sites More sharing options...
niche Posted November 3, 2010 Share Posted November 3, 2010 If I understand your question , I'd load the image names into a table with a field that IDs dupes so you can produce the navigation you need. Link to comment Share on other sites More sharing options...
cinek Posted November 3, 2010 Author Share Posted November 3, 2010 I managed to do it. Was over complicating things as always lol Link to comment Share on other sites More sharing options...
thescientist Posted November 3, 2010 Share Posted November 3, 2010 I'm scanning a folder for images, if there's more then 1 image, I want to display a "more" link. (I have done this). Now when you click the link, I want to direct the user to a link like this index.php?id=X ? and how do I fill the page out?how can I do that? I'm not sure what it's called, searching for ?id= on google is not much help use a form w/the GET method. Link to comment Share on other sites More sharing options...
[dx] Posted November 3, 2010 Share Posted November 3, 2010 $image = $_GET['id'];And then, <img src="image/location/$image">^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.