Re: [PHP] Retrieving values from array on a class

2006-10-15 Thread AR
} return self::$instance; } private function __clone(){ } } ?> This way i can't get the array elements. I've tried $params = returnConfigParams::getMySQLParams(); but no good. And that's the story. Cheers, AR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retrieving values from array on a class

2006-10-14 Thread AR
elements of the array. Can someone help me please ? Cheers, AR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retrieving values from array on a class

2006-10-14 Thread AR
$values = array(0 => $a, 1 => $b, 2 => $c, 3 => $d); return($values); } } Cheers, AR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retrieving values from array on a class

2006-10-14 Thread AR
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? Yes, it returns an arr

[PHP] Retrieving values from array on a class

2006-10-14 Thread AR
. 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 -- PHP General Mailing List (

[PHP] How to effectuate translations

2006-09-29 Thread AR
Hi, I'm coding this software that has several files for several languages, so that users can chose the one that suits him. My question is what is the best way to integrate this in the PHP code, i. e., to make it work. Any help would be appreciated. Warm regards, Augusto Reis -- PHP General Ma