On Wednesday 02 April 2003 03:58, Charles Kline wrote: > $res_pform->getSubmitValue("investigator5"); > > returns an array, how do I get to the individual values in that array > without first setting it to a variable like: > > $myvar = $res_pform->getSubmitValue("investigator5"); > > echo $myvar['field'];
You can try: list($field1, $field2, ...) = $res_pform->getSubmitValue("investigator5"); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* e-credibility: the non-guaranteeable likelihood that the electronic data you're seeing is genuine rather than somebody's made-up crap. - Karl Lehenbauer */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php