# [EMAIL PROTECTED] / 2006-10-14 15:55:57 +0100:
> 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]);

var_dump($params_file->getMySQLParams());

You said the method returns the data, right?

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to