hi there,
the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be causing this?
thanks,
lukemack.
<?php
/* TITLE: Inmarsat Form handling script AUTHOR: Luke Mackenzie DATE: 18/09/04
*/ error_reporting(E_ALL);
// if the submit buttons has been pressed if (isset($_POST['submit'])){
<snip>
Do you have a form element named 'submit' on the page that submits to this script? Right after the if statement you can echo something out just to see if it's working....
if (isset($_POST['submit'])){ echo ( "It worked" );
If you don't see the output, then your if statement is returning false.
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php