Dreamweaver Club Forums

Dreamweaver Club Forums (http://www.dreamweaverclub.com/forum//index.php)
-   General (http://www.dreamweaverclub.com/forum//forumdisplay.php?f=169)
-   -   Connection between two tables? (http://www.dreamweaverclub.com/forum//showthread.php?t=26592)

jenjo 10-06-2007 07:47 PM

Connection between two tables?
How can I open a thumbnail image in full size on a new page, the problem is if somebody search for a name for exsample John Doe, then the information and image (thumbnail) about John Doe will be shown on one page and by cliking on the thumbnail I would like the full size image to be shown on a new page but how do I do that, the part with info and thumb on one page is working ok, I have a database with two tables one with info and thumb and a table with images, I use Dreamweaver 8, PHP and MySQL.
I hope someone can help.

tux 10-07-2007 10:08 AM

Post your code.

m1a2x3x7 10-09-2007 09:45 PM

I did something like your wanting but I'm going from a small thumbnail to a large one. Here's the code i used.

it's a java and php script that pulls the correct image and then once click it opens it in a new browser.


<a href="urlName.php?image=<?php echo $row['lg_picture']; ?>" onclick="NewWindow(this.href,'name','<?php echo $row['lg_width']; ?>','<?php echo $row['lg_height']; ?>','yes');return false"><img src="folderName/<?php echo $row['sm_picture'];?>" width="100" height="100" hspace="15" vspace="1" border="0"/>

All times are GMT. The time now is 03:33 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com