Henrik Hudson wrote: > Inside your function define: > > global $server; > global $pass; > global $user; > etc.... > > It is using variables insides it's own scope and unless you have use > GLOBAL_VARIABLES defined in your php.config file, it won't go outside of it's > scope to look for values, hence they are getting asigned NULL and you can't > connect to a NULL DB :)
Looking at the content of this post and my post above this one, it seems like it is global day/night again <g> -- Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]