Posted by Abersparky on 04/09/07 02:31
How do I get the radio name to automatically increment?? (and by the
way I know I totally butchered the name value that's there lol)
if ($w_row['vis']=='Y') {
print '<input name="{$w_row["comment_id"]}" type="radio" checked
value="Y">';
} else {
print '<input name="{$w_row["comment_id"]}" type="radio" value="Y">';
}
if ($w_row['vis']=='N') {
print '<input name="{$w_row["comment_id"]}" type="radio" checked
value="N">';
} else {
print '<input name="{$w_row["comment_id"]}" type="radio" value="N">';
}
[Back to original message]
|