Ok Heine, will try your idea

But I do not use validate or submit yet

Feijó


Heine Deelstra escreveu:
Feijó wrote:

Yes, I use that return ($form_values) into my query:

    $result = db_query('select name from {reports} where rid=%d',
        $form_values['saved']);
    $report = db_fetch_array($result);

Why not simplify the code as much as possible, then post the _entire_ relevant snippet (form builder, validate and submit handlers) on one of the pastebins?

Regards,

Heine Deelstra