> Here is scenario that I am working on but  have a problem.  
 > I have 10 thumbnail images on the page with information for 
 > them created from database. 

 > (I am pulling more info about that image from database, but 
 > on this page I only display "Name of Image" and  "Author of 
 > image," the rest of the info is stored in variables.)

 > I want my users to click on the thumbnail. When they do I 
 > want a new window to open and I want information for that 
 > particular image that they clicked (along with other info 
 > that stored in variables for the same image) to be passed to 
 > that new opened page.  How can I pass information about that 
 > particular image to the new page?  Any ideas? 

Speaking personally, I'd only extract the data you actually need to
display - it will lower your overheads (even if just a little) and you
won't be in a situation where you have to keep data around on the
off-chance that they click the thumbnail for more info.  Then if they do
click the thumbnail get the data you need from the database.  In this
scenario about the only thing you'd need to pass your new page would be
the ID number from the database - then just do a query for what you need
on the new page.

The more images you're dealing with, and the more information you
extract per image, the more effective this will be at saving you
overheads.

CYA, Dave



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to