QuickForm process() calling class function

From: Date: Tue, 13 Sep 2005 19:33:48 +0000
Subject: QuickForm process() calling class function
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20949@lists.php.net to get a copy of this message
I am trying to use my data processing class to handle the INSERT from my QuickForm. But this is not working. Any thoughts? Is there a proper way to do this, since this method does not seem to be working? if ($form->validate()) {
    $form->freeze();
    $form->process('process_data', false);
    exit;
} else {
        $form->display();
} function process_data ($values) {
    $dbq->setPR($values);
} Thanks, Charles

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