RE: [PHP] RE: How to insert time and date into mysql?

2001-03-01 Thread Foley, John
y. Due north of the center we find the South End. This is not to be confused with South Boston which lies directly east from the South End. North of the South End is East Boston and southwest of East Boston is the North End. > -Original Message- > From: Kevin Cawthorne [SMTP:[EM

[PHP] RE: How to insert time and date into mysql?

2001-03-01 Thread Foley, John
I have an application that serializes uploaded files by datetime of upload. This may not be the most efficient, but this will yield a MySQL DATETIME type string: $datetime = date("YmdHis"); If you are looking for a DATE column and a TIME column seperately (not re

[PHP] RE: Events in HTML with PHP

2001-02-08 Thread Foley, John
Javascript to call another page (or at least URL) that is a php file . . . I have JavaScript OnChange examples, if you need it. > -Original Message- > From: Francesco Rossi [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 08, 2001 5:17 AM > To: [EMAIL PROTECTED] > Subject:

[PHP] RE: MS SQL Question

2001-02-07 Thread Foley, John
The table or view "extended" does not exist in the declared database context. If this table or view is in another database on the same server, use database.table.column (not sure about exact syntax here) John T. Foley Network Administrator Pollak Engineered Prod

RE: [PHP] Access a printer via PHP

2001-02-07 Thread Foley, John
Make your PHP script push an HTML formatted tmp file, run it through html2ps, (then perhaps ghostscript to make it PCL et al) and redirect it to your printer. (Or, then run ps2pdf on it and also email a PDF order confirmation page to your customer . . . the potential is limitless.)

[PHP] RE: AS400 SQL Errors and Resources

2001-02-06 Thread Foley, John
For AS/400 in general: http://publib.boulder.ibm.com/html/as400/infocenter.html An for DB/2: http://www-4.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/v7pubs.d 2w/main John T. Foley Network Administrator Pollak Engineered Products, Actuator P

[PHP] 2 questions, can't find in the manual or archives . . .

2001-01-15 Thread Foley, John
3 questions I guess. I'm writing a SYSV LP script in PHP so that I can have a print-to-database (MySQL) solution. First question: Am I wasting my time? Are there already canned solutions? (LPRng perhaps?) Second question: How do I go about opening file descriptors