Hi All!
I have a script that allows me to keep track of client data.
I have a bunch of fields, but the two in concern are “startTime” “endTime”
I keep getting a canned error from my script thats tells me it is unable to run the query.
If I take these 2 lines out from the update, it works fine but does not update:
startTime = ‘$_REQUEST[starttime]’
endTime = ‘$
Any ideas?
[code=php]
//fields
Start:
<input type=’text’ name=’starttime’ value='<?
if(empty($_REQUEST[starttime])) $_REQUEST[starttime] = “g:i”;
echo ($_REQUEST[starttime]);
?>’>
End
<input type=’text’ name=’endtime’ value='<?
if(empty($_REQUEST[endtime])) $_REQUEST[endtime] = “g:i”;
echo ($_REQUEST[endtime]);
?>’>
//To Update
$update_customer = “UPDATE user SET
startTime = ‘$_REQUEST[starttime]’
endTime = ‘$_REQUEST[endtime]’;