This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by Wajid Khan.
Viewing 4 posts - 1 through 4 (of 4 total)
For this you need to go includes/reservation_insert.php
Find:
if($_POST['contactphone'] !=''){
$contactphone=$_POST['contactphone'];
}
Replace:
if($_POST['contactphone'] !=''){
$contactphone=$_POST['contactphone'];
}else{
$error.='Enter your Phone Number.
';
}
This will Work.
Regards,
MAWK
Please Update this code to show number in numeric only.
Fix this:
if($_POST['contactphone'] !=''){
if(is_numeric($_POST['contactphone'])){
$contactphone=$_POST['contactphone'];
}else{
$error.='Enter your Phone Number only in numbers.
';
}
}else{
$error.='Enter your Phone Number.
';
}
Please update this as above code.
Regards,
MAWK
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.