I have some code that makes an OHM file to send an email based on supplied parameters I construct in the file. The filename and web server path are saved in a variable. Part of the file name and path is the current date and time in a specific format...
The date format is failing JUST in MS Internet Explorer with the following error: "Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for type date"
The PHP code it is failing on is below:
Expand|Select|Wrap|Line Numbers
- //define the OHMM saved file name & location based on the various parameters
- $parsed_OHM_file_path_and_name = "C:\logs\safety-incident-report-auto-email~".$logged_on_user."~".date('M-d-Y_H-i-s').".ohm";
Any suggestions? I have been poking away Google for an hour or more trying to get a handle on this...
Thanks in advance:
GREG...