surender singh
asked on
checkbox in php
checkbox in php
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If anybody still cares about the quality of the answers in the PAQ, E-E hould probably have a PHP subject-matter expert look at these. #40504846 doesn't say anything useful. #40504889 gives a code example with a logic error that will overwrite a variable multiple times processing only the last element of the array. The cited article shows the correct answer, with tested-and-working code examples.
I agree with Ray: my code should have been
if (isset($_POST['recordToEdit']) && is_array($_POST['recordToEdit']))
{
foreach ($_POST['recordToEdit'] as $record)
{
$recordsToEdit[] = $record;
}
}
My recommendation is to awrd point to the comment #a40505994 for the reasons listed in comment #a41607272
Accepted answer: 250 points for GaryC123's comment #a40504846
Assisted answer: 250 points for marqusG's comment #a40504889
for the following reason:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I have recommended this question be closed as follows:
Split:
-- Gary (http:#a40504846)
-- Marco Gasi (http:#a40504889)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
tagit
Experts-Exchange Cleanup Volunteer