Revision 227
Added by ryan about 19 years ago
add.php | ||
---|---|---|
53 | 53 |
$success_message = 'Thank-you.'; |
54 | 54 |
$max_submissions = 50; |
55 | 55 |
$stored_submissions = 100; |
56 |
$database->query("INSERT INTO ".TABLE_PREFIX."mod_form_settings (page_id,section_id,header,field_loop,footer,email_to,email_from,email_subject,success_message,max_submissions,stored_submissions) VALUES ('$page_id','$section_id','$header','$field_loop','$footer','$email_to','$email_from','$email_subject','$success_message','$max_submissions','$stored_submissions')"); |
|
56 |
$use_captcha = true; |
|
57 |
$database->query("INSERT INTO ".TABLE_PREFIX."mod_form_settings (page_id,section_id,header,field_loop,footer,email_to,email_from,email_subject,success_message,max_submissions,stored_submissions,use_captcha) VALUES ('$page_id','$section_id','$header','$field_loop','$footer','$email_to','$email_from','$email_subject','$success_message','$max_submissions','$stored_submissions','$use_captcha')"); |
|
57 | 58 |
|
58 | 59 |
?> |
Also available in: Unified diff
Finished correct Captcha implementation in form mod