PDA

View Full Version : How can i get a url from a php include file?



swiftmed
22 Dec 2006, 10:45 AM
Hey guys,

Quick question, the website i am working on has 8 random images on the home page, which are includes from php files where the images and the url for that image is stored, my question is how can i get the text's url on the home page below the 8 images to go to the same url as the image that is being displayed.

for example if image x appears, i want the text under the image to have the same link as image x, if image y was showing, i want the text's url to go to the same location as url as image y and so on...

you can see the images and text below each image at www.4design4style.com (http://www.4design4style.com)