Jump to content

Archived

This topic is now archived and is closed to further replies.

lanny

how to link listbox in dreamweaver?

Recommended Posts

i'm using listbox for user to select the picture they want to display on a particular frame of the web page..i'm using xhtml as the web page and php, mysql. any solutions for that?
thanks in advance!

Share this post


Link to post
Share on other sites
[!--quoteo(post=367867:date=Apr 24 2006, 01:12 AM:name=lanny)--][div class=\'quotetop\']QUOTE(lanny @ Apr 24 2006, 01:12 AM) [snapback]367867[/snapback][/div][div class=\'quotemain\'][!--quotec--]
i'm using listbox for user to select the picture they want to display on a particular frame of the web page..i'm using xhtml as the web page and php, mysql. any solutions for that?
thanks in advance!
[/quote]
Javascript, PHP, MySQL
One solution will be to use javascript to extract the value (imageid) of the selected item in the list box, append it the the PHP url to be opened in the target frame:
parent.framename.location="phpfilename.php?img="+imgid

The PHP script will extract the image information for the MySQL database using imgid, then create an html string to display the picture

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.