Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Image Gallery

Status
Not open for further replies.

nancyjames

Programmer
Aug 14, 2003
5
GB
Hi, I'm making a website for my portfolio and I've got a nifty little image gallery going right now, nice and simple it searches the gallery directory for all jpg images and makes a little thumbnail gallery with links to the pictures but, I dont really want it to do that.
I want to be able to click on the link and have the large version of the image appear above the thumbnail gallery...
So I tried writing the link so that it would refresht he page and pass the variable through so the main image would be displayed...
the link went something like this
<a href ="gallery.php?bigfile=$file">
but it had a parse error.
I'm kinda new at php and I dont really know whats wrong or how to fix it. I hope someone can help me
 
is the link in php tags? if not try

<a href ="gallery.php?bigfile=<?php echo $file ?>">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top