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! Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.