Hello,

>     Just like you'd access members of any other array.
> 
>     $whatever = $params_file->getMySQLParams();
>     print($whatever[0]);
> 
>     This is a matter of basic rules of the language. Did you know
>     most of the grammer is described in the manual?
Sure, i already tried that, but it doesn't works.
All i get is a blank page.

BTW, here is my class:

class returnConfigParams
 {

  var $a;
  var $b;
  var $c;
  var $d;
        

  function getMySQLParams()
   {
    include($_SERVER['DOCUMENT_ROOT']."/properties.php");
        
    $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

Reply via email to