Hi to all.
Can anyone help me with this? I have PHP script the save record. But I want to have time limit in saving the record. When the local time is 4:00 PM, the user can no longer save their record. Please help.
Here's my code;
$name = $_POST;
$age = $_POST;
$addr = $_POST;
//if time is beyond 4:00 PM this code is enable ------ this what i want.
mysql_query("insert into file(name,age,address) values ('$name','$age','$addr')");
echo "Record Save";
//if time is exceed 4:00 PM this code is enable and disable the saving codes
echo "Can not save record. Time limit has expire"