Re: function troubles...
| From: | Chris Ramsay | Date: | Thu, 17 Mar 2005 14:20:59 +0000 |
| Subject: | Re: function troubles... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210980@lists.php.net to get a copy of this message | ||
Will
Whatever you are making available in the required file sql.php, it is
not accessible by the function shit_func. Define the connection string
or whatever as a global inside function shit_func and it should work,
else make the connection within the function - not such a good idea...
chris