Re: [PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
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

[PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
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""; ?> ---