Go Back   Dreamweaver Club Forums > Hand Coders Forum > General
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 10-06-2007, 06:47 PM   #1
Join Date: Oct 2007
Posts: 1
Default 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.
jenjo is offline   Reply With Quote
Old 10-07-2007, 09:08 AM   #2
tux's Avatar
Join Date: Feb 2007
Location: Isle of Wight, that little island right at the bottom of the UK
Posts: 657

Post your code.
tux is offline   Reply With Quote
Old 10-09-2007, 08:45 PM   #3
m1a2x3x7's Avatar
Join Date: Mar 2007
Posts: 297

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"/>
m1a2x3x7 is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

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