Extract help
| From: | Michael Kimsal | Date: | Fri, 29 Sep 2000 21:22:37 +0000 |
| Subject: | Extract help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18121@lists.php.net to get a copy of this message | ||
Hello.
I'm looking to try to use extract from an array into variables in a
class.
Does that not make sense?
I'd like to be able to take this
$this->usertype = $db->Record[0];
$this->first = $db->Record[1];
$this->last = $db->Record[2];
and run extract($db->Record) and get the results into
$this-> variables.
Any ideas?
--
==========================
Michael Kimsal
http://www.tapinternet.com
734-480-9961