binumathew Posted March 9, 2009 Share Posted March 9, 2009 Fellows, how we can Get Some Sort of Data From DB and Show Each as the text value of Checked Box and when after checking the checked box,while we post the page the database should update each checked...and not checked as present and absent can you gave a code snippet?? Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/ Share on other sites More sharing options...
binumathew Posted March 9, 2009 Author Share Posted March 9, 2009 Can anybody tell me how can we do this,please....plz add any replay Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/#findComment-780568 Share on other sites More sharing options...
binumathew Posted March 13, 2009 Author Share Posted March 13, 2009 Hey Friends... Plz replay...........i need to know...plz Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/#findComment-783945 Share on other sites More sharing options...
syed Posted March 16, 2009 Share Posted March 16, 2009 Hi binumathew, Im not sure what you mean. Please can you explain a bit more. Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/#findComment-785918 Share on other sites More sharing options...
Maq Posted March 16, 2009 Share Posted March 16, 2009 Would you relax? People will refuse to help you if you bump your thread twice in less than an hour... Now, what does this mean? Check boxes don't have text... Get Some Sort of Data From DB and Show Each as the text value of Checked Box Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/#findComment-786003 Share on other sites More sharing options...
binumathew Posted March 24, 2009 Author Share Posted March 24, 2009 i mean think that there is 50 person's name in the DB,i want to show these names along with the check box and when the user click some names we have to update the DB Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/#findComment-792566 Share on other sites More sharing options...
Maq Posted March 24, 2009 Share Posted March 24, 2009 Extract the names from the DB and echo the row['name'] as the value of the check box and the text along side of it. Do you have any code? Quote Link to comment https://forums.phpfreaks.com/topic/148631-geting-data-from-db-and-show-each-in-checked-box/#findComment-792569 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.