Hi there, I'm setting up an online portfolio and would like to know what the best way to pull up image descriptions would be. I've seen it done before by setting up a text file like this: image1.jpg; information about this one image2.jpg; information about the second one. then when you load image1.jpg onto the page, you also pull up "information about this one" into the page. Right now I just have a navigation set up where the link is to index.php?id=imagename and then I load the appropriate image like so: [code]$first = array('home','about','contact', 'work'); if (in_array($_GET['id'], $first)) { print '<img src="http://' . $_SERVER['HTTP_HOST'] . '/images/' . $_GET['id'] . '.jpg" alt="title" />';[/code] I'm not even sure what the process would be called so I haven't really been able to do research on it. I know I could set up something using line numbers and call the images by numbers that calls up the appropriate line number - but I'd prefer to have it know which line to pull based on the variable $id.