devilinc Posted November 22, 2010 Share Posted November 22, 2010 i have a drop down list of values which i had retrieved from table and displayed in this select drop down box...each value in drop down has corresponding information stored in table......now what i want to do is get the information for the corresponding value from the database table when one of the value is selected and display it below....how do i go about it? Quote Link to comment Share on other sites More sharing options...
Mr_J Posted November 22, 2010 Share Posted November 22, 2010 Dude, Give us some more info... It is very much possible to do it. Like if you need to display (and you can even update etc) the row of the table in the db. Your string will look something similar to: <table> <option select) <tr> <td><? echo ''$row1;?></td> </tr> </table> Of course this is very incomplete. You need to connect to the DB and select table and so on. Have you tried something yet? Do you know php? meaning how much knowledge have you got when writing in PHP I'm a noob myself but I like it... yeh, I like Peace out Quote Link to comment Share on other sites More sharing options...
devilinc Posted November 22, 2010 Author Share Posted November 22, 2010 yeh i did some reading and i found out that ajax will do the trick and now i am working on it....thanks for looking through....i know it was a silly question to ask.... 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.