Re: php function question

Assign the recordset value to a variable before you call the function. You can
make as many variable as you want. Dont forget to change the variable in your
output.
$field_row = $row_rs['$field'] ;
then call the function using the new variable
function radio($label, $field_row) {
echo "<label>".$label."</label>";
echo "<label class='radiolabel'><input class='radio'";
if (!(strcmp($field_row,"4"))) {echo "checked=\"checked\"";}