Jump to content

how to link listbox in dreamweaver?


Recommended Posts

[!--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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.