php - OOPHP public function send array to var -
ok simple question thought ask because not sure, need following
1) have public function call
public function myarraysubmit($key,$values){ }
inside have switch()
looks @ key , should $values , use array in sent $values
but not sure, if able send array var function when last tied did not work, point me in right direction if or not work.
thanks
did try....
public function myarraysubmit($key,&$values){ ... }
or
public function myarraysubmit($key){ ... return $values; }
Comments
Post a Comment