MySQL Forums
Forum List  »  PHP

Re: Keeping connection variable across functions
Posted by: Slava Divxak
Date: July 19, 2005 07:26AM

You can use array $GLOBALS['connection']
or
function some()
{
global $connection;
.............................
}

I think so..........

Options: ReplyQuote


Subject
Written By
Posted
Re: Keeping connection variable across functions
July 19, 2005 07:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.