It works,

Thx
"John Nichel" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> alain dhaene wrote:
> > I have try
> > but I get the following error:
> >
> >
> > Warning: mysql_close(): supplied argument is not a valid MySQL-Link
resource
> > in /home/schoolre/public_html/Hitek/Online/connectie.php on line 16
> >
> > Alain
> <snip>
>
> Look here....
>
> http://us4.php.net/manual/en/language.variables.scope.php
>
> Your $link only has the scope of that function.  You can either pass it
> to the function, or put this line inside of your function....
>
> global $link;
>
> --
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to