- if("you're happy with the POSTed values") {
- # to enable saving to a database, create a file called 'db_connect.php'
- # see: code/wfpl/examples/db_connect.php
- if(file_exists('db_connect.php') || file_exists('code/db_connect.php')) {
- if(file_exists('db_connect.php') {
- require_once('db_connect.php');
- } else {
- require_once('code/db_connect.php');
- }
+ if("you're happy with the POSTed values") {<!--~opt_db_4 start~-->
+ if(file_exists($db_connector = 'db_connect.php') || file_exists($db_connector = 'code/db_connect.php')) {
+ require_once($db_connector);