| 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> |
|---|---|---|
| ||
| Previous by Date: | ASP Page Level Security, lktodd |
|---|---|
| Next by Date: | Re: php include sessions, Prellyan Luxtintner |
| Previous by Thread: | php function question, aerobicdesign |
| Next by Thread: | Re: php function question, aerobicdesign |
| Indexes: | [Date] [Thread] [Top] [All Lists] |