I want to write a code that will view all the records within a table and assign a checkbox for each record.. the check box will be used for deleting the records just like in emails. can anyone help me on this?
bornok15 3 Junior Poster in Training
Recommended Answers
Jump to Postjust assign a checkbox with a different name to each one with id value as the checkbox value. then use the foreach() statement to loop through the post results and regex the key to make sure it belongs to that set of input elements. after that take the value from …
Jump to Posti am working on the code, i will post soon.
Jump to Posthere is the code. i am not for sure if it will work properly with your setup because i don't know the rest of the code, but i have used a similar system in many of my admin centers i have created and it works nicely.
<?php …
All 11 Replies
DangerDev 107 Posting Pro in Training
JeniF 0 Junior Poster in Training
somedude3488 228 Nearly a Posting Virtuoso
bornok15 3 Junior Poster in Training
bornok15 3 Junior Poster in Training
somedude3488 228 Nearly a Posting Virtuoso
somedude3488 228 Nearly a Posting Virtuoso
bornok15 3 Junior Poster in Training
somedude3488 228 Nearly a Posting Virtuoso
bornok15 3 Junior Poster in Training
somedude3488 228 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.