Re: 3 variables not passing to function!!!????
| From: | Ryan A | Date: | Sun, 01 Feb 2004 03:26:43 +0000 |
| Subject: | Re: 3 variables not passing to function!!!???? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176495@lists.php.net to get a copy of this message | ||
Oh crap, variable scope....:-((
thanks again.
-Ryan
On 2/2/2004 4:17:40 AM, holmes072000@charter.net wrote:
> Ryan A wrote:
>
> > I am getting everything except the 3 variables($admin,$site,$lic), heres
> my
> > function:
> >
> > *******************
> > include_once('PRO-Config.php');
> > echo $admin; // This was a test to see if I am getting the value from
> the
> > include..I am.
> >
> > function sendEmail()
> > {
> [snip]
> > Admin: $admin
> > Site: $site
> > Lic no: $lic
>