"); ?>

Freedom Games

Freedom Millionaire Question Submission


There was an error in submitting your question! Please ensure you filled in all required fields and " . "try again.

"; echo "

Click here to return to submission form.

\n"; echo "
"; break; } // formulate sql statement $sql = "insert into mil_subs values('', '" . $_POST['cat'] . "', " . "'" . $_POST['value'] . "', " . "'" . $_POST['question'] . "' ," . "'" . $_POST['a0'] . "' ," . "'" . $_POST['a1'] . "' ," . "'" . $_POST['a2'] . "' ," . "'" . $_POST['a3'] . "' ," . $_POST['ans'] . ", '" . $_POST['sub'] . "')"; $rs = mysql_query($sql); if (mysql_error()) { echo "

There was an error in submitting your question! Please ensure you filled in all required fields and " . "try again. If your entry still fails, we may be experiencing technical difficulties so please try again later.

"; echo "

MySQL Error returned: " . mysql_error() . "

"; echo "
\n"; break; } echo "

Your question has been successfully submitted!

"; echo "

Thanks to contributors like you, we now have " . total_q() . " questions in our database! Thanks for your help!

"; echo "

Submit another question!

"; echo "
\n"; break; default: // present form for submission ?>

Welcome to the Freedom Millionaire submission form!

To submit a question, please fill in all fields on the following form and then activate or click the Submit button.

Your question will be entered into our database and included either in the next release of Freedom Millionaire, or in a downloadable question set!

We would greatly appreciate it if you would check your question for misspelling or grammatical errors before posting.

If you have a large number of questions you'd like to submit and don't wish to enter each one manually for this form, please contact me, fmillion@themillionweb.com, and we can work out something for you to get your questions to me.

Thanks for contributing to Freedom Millionaire!



(yes, we do give credit where it's due!)


There are currently " . total_q() . " questions in our database! Thanks!


\n"; } print_id() ?> \n"; echo "Modified from Freedom Guestbook/1.0 PHP
\n"; echo "It is " . date("l, F jS Y - h:i:s A"); echo "\n
\n"; } // function to print generic error function print_err() { echo "

There was an error posting your entry! Please ensure you filled in all fields " . "on the form and try again. If your post still fails, we may be experiencing technical difficulties, ". "so please try again later.

\n"; if (mysql_error()) { echo "

Error information: " . mysql_error() . "

\n"; } echo "

Press Back in your browser to try again, or click here to return to the Freedom Games site.

\n"; echo "
"; } // function retrieve total number of questions function total_q() { $total_q_sql = "select * from mil_subs"; $total_q_rs = mysql_query($total_q_sql); return mysql_num_rows($total_q_rs); } ?>