macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: php function question

Subject: Re: php function question
From: "MikeL7"
Date: Sun, 19 Aug 2007 00:18:10 +0000 UTC
Newsgroups: macromedia.dreamweaver.appdev

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\"";}





<Prev in Thread] Current Thread [Next in Thread>