PHP Help

I'm having trouble with one section of code. All I want to do is jump to
another page upon correctly inserting the secuirty code. Does this mean I
need to remove the echo for "Thank you. Your message said...". The code in
question is:

<?php
session_start();

if( isset($_POST['submit'])) {
if( $_SESSION['security_code'] == $_POST['security_code'] &&
!empty($_SESSION['security_code'] ) ) {
// Insert you code for processing the form here, e.g emailing the
submission, entering it into a database.
echo 'Thank you. Your message said "'.$_POST['message'].'"';
unset($_SESSION['security_code']);
} else {
// Insert your code for showing an error message here
echo 'Please enter the Security Code correctly!';
}
} else {
?>
sheetrum [ Mo, 21 Januar 2008 01:43 ] [ ID #1913030 ]
Microsoft » microsoft.public.frontpage.client » PHP Help

Vorheriges Thema: insert a picture on a picture
Nächstes Thema: Recaptcha - question on how to use