Retrieving values from array on a class
| From: | AR | Date: | Sat, 14 Oct 2006 14:55:57 +0000 |
| Subject: | Retrieving values from array on a class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-243137@lists.php.net to get a copy of this message | ||
Hello,
Sorry for the newbie question :(
I have this class named "returnConfigParams" that returns an array
called "$values" through a function called "getMySQLParams()".
My question is how to retrieve the values of the array from the file
that calls the class.
I have:
$params_file = New returnConfigParams;
$params_file->getMySQLParams();
print($params_file[0]);
but doesn't work :(
Help me please.
I'm stuck on this for two hours and didn't find nothing on Google that
could help me.
Cheers,
AR