RE: [PHP] MySQL to OO

From: Date: Thu, 16 Sep 2004 12:39:52 +0000
Subject: RE: [PHP] MySQL to OO
Groups: php.general 
Request: Send a blank email to php-general+get-196855@lists.php.net to get a copy of this message
[snip] I am looking for a absolute transparent interface to access each field a s a object. So if i would have a table like this: tablename: namedtable ------------------ | id | foo | bar | ------------------ | 01 | aaa | uuu | ------------------ | 02 | bbb | mmm | ------------------ I could access it like this: namedtable->return() would give me the whole table namedtable->id(all) would give me [01, 02] namedtable->id(01) would give me [foo=>aaa, bar=>uuu] something like this [/snip] http://pear.php.net

« previous php.general (#196855) next »