Hi, I have a command to assign an array to a function in a class. e.g. $myclass = new newclass();l
and i need it to run a function that takes in an array $myclass->myfunction( $array); but i want the array to be seen defined $myclass->myfunction( array ( one => "1" , two => "2" ) ) ; but lets say the definitions 'one => "1" , two => "2"' are in a text file ( to be modified of course ) how do i make the function work? I don;t want to call a function to do it, like $myclass->myfunction( array( get_array() ) ); I might be missing an easy solution, but ... :) Hasan Sastra E-Book Systems www.ebooksys.com www.flipviewer.com www.fliplibrary.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]