$error_messages = array();
if(!empty($_POST['credit_no']) && is_numeric($_POST['credit_no'])){
$credit_no = $_POST['credit_no'];
}else{
$error_messages[] = "You did not enter your credit number or the number you entered is not numeric <br />";
}
Error Message:
Parse error: syntax error, unexpected '{' in /home/public_html/Test/order_handle.php on line 5
I am new to php, forgive me! My error message says that I don't need the open curly brace but I know I do! Is there another error and I just don't see it?
This post has been edited by Dormilich: 13 February 2013 - 02:01 AM
Reason for edit:: fixed code tags

New Topic/Question
Reply



MultiQuote





|