Re: Retrieving values from array on a class

From: Date: Mon, 16 Oct 2006 17:45:02 +0000
Subject: Re: Retrieving values from array on a class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243195@lists.php.net to get a copy of this message
On Sat, October 14, 2006 9:55 am, AR wrote: > $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. There's nothing wrong with the above, but what's inside getMySQLParams() function body?... Use var_dump($params_file) to see what you've got so far. And use var_dump($x) all through the function body to see what you're doing -- where $x is any variable of interest at that line of code. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#243195) next »