j007ha Posted July 15, 2008 Share Posted July 15, 2008 I have a html form with table inside. So in that form i will provide a drop down list to let user to select an item from the drop down list. After the user have select one of the item from the drop down list the following information like price, description about the particular item will be display in the row of the column. So my question is how to adding a new row ( after the user select one or more item from the drop down), so the new selected item details can be display into the new row. Im very appreciated with u all view and help Link to comment https://forums.phpfreaks.com/topic/114761-somebody-help/ Share on other sites More sharing options...
ratcateme Posted July 15, 2008 Share Posted July 15, 2008 this is really a javascript question this might help if you want to get info from php without reloading the page the that is ajax more javascript check out the xajax project for that (google it) Scott. Link to comment https://forums.phpfreaks.com/topic/114761-somebody-help/#findComment-590088 Share on other sites More sharing options...
j007ha Posted July 15, 2008 Author Share Posted July 15, 2008 thx a lot (ratcateme) hehe... u r so great^^ Link to comment https://forums.phpfreaks.com/topic/114761-somebody-help/#findComment-590107 Share on other sites More sharing options...
j007ha Posted July 15, 2008 Author Share Posted July 15, 2008 one more question after i have success adding a new row how can i insert the specific item information(which is store is mysql) to the follow row?(By assign a id to each column of the new row ? how to differentiate the every row?) Thx a lot Link to comment https://forums.phpfreaks.com/topic/114761-somebody-help/#findComment-590110 Share on other sites More sharing options...
ratcateme Posted July 15, 2008 Share Posted July 15, 2008 i am not sure exactly but i would create a <span> tag inside my row with an ID then use xajax to get the value from a database Scott. Link to comment https://forums.phpfreaks.com/topic/114761-somebody-help/#findComment-590130 Share on other sites More sharing options...
j007ha Posted July 15, 2008 Author Share Posted July 15, 2008 kk...i will try anyway thx Link to comment https://forums.phpfreaks.com/topic/114761-somebody-help/#findComment-590144 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.