Re: What's the PHP-equivalent of Perl's AUTOLOAD feature?
| From: | Chris Hayes | Date: | Fri, 17 Jan 2003 11:25:20 +0000 |
| Subject: | Re: What's the PHP-equivalent of Perl's AUTOLOAD feature? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131985@lists.php.net to get a copy of this message | ||
At 02:06 17-1-2003, you wrote:
I just read an interesting article in The Perl Journal (TPJ) about using AUTOLOAD as a layer of abstraction for accessing database columns and I would like to write something similar in PHP. Is this possible?If you mean some sort of database abstraction so one script would work on MySQL as well as Oracle; there is not such a thing within PHP itself. The google search term would 'database abstraction layer' and a popular one is ADODB (not to be confused with the other adoDB), at http://php.weblogs.com/ADODB. If that's not what you mean please try to explain it again.... Chris Hayes