Hi,
I have a problem with the date field. In my survey I want to use a datefield
with day/month/year instead of month/day/year. I think I have to change
something at espresponse.inc but I don't know how to do this. Can anyone
help me ?
Thanks a lot
Eric Bont
case 'response_date':
// only insert if non-empty content
if(($bareval = ereg_replace("[^0-9]*([0-9]+)/([0-9]+)/([0-9]+).*",
'\3-\1-\2', $bareval))) {
$val = addslashes($bareval);
$sql = "INSERT INTO ${table} ( response_id,question_id,response ) VALUES (
'${rid}','${qid}','${val}' )";
$result = mysql_query($sql);
}
break;
_________________________________________________________________
Hotmail en Messenger on the move
http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/
|