Re: QuickForm array processing

From: Date: Wed, 17 Aug 2005 06:55:59 +0000
Subject: Re: QuickForm array processing
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20443@lists.php.net to get a copy of this message
On 8/16/05, Poncho Pilate <poncho@zoom.co.uk> wrote: > dob day = $form_result['dob'][0]; > dob month = $form_result['dob'][1]; > dob year = $form_result['dob'][2]; > > country = $form_result['location'][0]; > region = $form_result['location'][1]; > area = $form_result['location'][2]; These should be things like 'd', 'm', and 'Y' instead of 0, 1, and 2. However, since print_r didn't show these it's obviously not there. if you don't have the newest version of QF, please update and let us know if it helps. If it doesn't, check if magic_quotes is turned on in PHP. If it is, try turning it off. As a last resort...you're not altering $_POST in any way before you use QF are you? -- Justin Patrin

« previous php.pear.general (#20443) next »