Mr. Alaska:
Well that kinda works but it returns the literal and not the actual value?
This returns the Literal value="Object.description"
<?php
$code=$id1;
foreach ($arr as $ele) {
$str .= "<td><input type='checkbox' name='$name' value='$ele.$code'";
foreach ($checked as $entry) {
if ($entry == $ele) {
$str .= "checked";
}
}
?>
This returns the Actual Value:
<?php
$code=$id1;
foreach ($arr as $ele) {
$str .= "<td><input type='checkbox' name='$name' value='" .$ele->$id1 . "'";
foreach ($checked as $entry) {
if ($entry == $ele) {
$str .= "checked";
}
}
?>
Hope this helps someone else!!
--Andrea
π
Thanks,
Andreaπ π π