I got it, I think:
and this at the beginning of file "B"
$selected == "$selected";
and placed this statement in file "A"
if (isset($selected[$cat]))
{
include ("cat_select.php");
}
I don't know why it works but it does, is there anything wrong with this method?
Gerry wrote:
>
> I hope yo
I hope you understand:
It is too long to include here so I'll give you an idea.
file.B
---
";
//-cats
$cats = explode(',',$all_cats);
//--values
$cats_vals = explode(',',$all_cats);
print html_options($cats, $cats_vals, $selected, "--Select one--");
echo"";
?>
---
2 matches
Mail list logo