[development] Weird behavior on #default_value

Heine Deelstra hdeelstra at gmail.com
Thu Jan 24 18:29:06 UTC 2008


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

-- 
Rarely is the feuilleton the best medium to conduct debugging in. See also 
http://heine.familiedeelstra.com/coding-help-tips

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20080124/bda45af7/attachment.pgp 


More information about the development mailing list