lanny Posted April 24, 2006 Share Posted April 24, 2006 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! Link to comment https://forums.phpfreaks.com/topic/8234-how-to-link-listbox-in-dreamweaver/ Share on other sites More sharing options...
onepixel Posted April 25, 2006 Share Posted April 25, 2006 [!--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, MySQLOne 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="+imgidThe 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 https://forums.phpfreaks.com/topic/8234-how-to-link-listbox-in-dreamweaver/#findComment-30620 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.