[snip] any idea why this simple peace of code is not working? // code that will be executed if the form has been submitted: $submit_post=$_REQUEST['submit']; if ($submit_post=='yes') [/snip] Probably because $_REQUEST['submit'] !== 'yes' print_r($_REQUEST); to see the array -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php