quickform: URL GET parameters lost during validation - causing errors

From: Date: Tue, 29 Mar 2005 14:49:49 +0000
Subject: quickform: URL GET parameters lost during validation - causing errors
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18392@lists.php.net to get a copy of this message
The code snippets below are for a form. If it's not filled in correctly, it validates properly but loses the URL parameter. I use the URL parameter in the processing code after validation. I need that url parameter. The error is that it can not find the $k_ID and DB error. Any ideas? $form = new HTML_QuickForm('form1'); $k_ID = $_REQUEST['k']; //url parameter ... $form->addElement('hidden', 'KPPO_ID', $k_ID); ... function process_data ($values) { $sql_statement = "SELECT ... WHERE ID = " . $values['KPPO_ID']; ... } __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/

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