[PHP-WIN] Form Posting from script

2002-08-13 Thread GeneralX
How do you post a form without actually waiting for submit button to be pressed? Got a CGI expecting a form post, all the fields are already available as hidden type in a form, and just need to be send it. I know you can use Java as such: document.forms[0].submit();

Re: [PHP-WIN] Form Posting from script

2002-08-13 Thread GeneralX
s entered? When you know where it should occur then just call a Javascript function that issues the submit() of the form. Jim function postForm() { document.forms[0].submit(); } ---Original Message--- From: GeneralX

Re: [PHP-WIN] Form Posting from script

2002-08-13 Thread GeneralX
to be seen by your user, all they see is the HTML that you produce with your PHP. Think of Javascript and HTML as one in the same (I know their not but you produce them the same using ECHO commands). Jim ---Original Message--- From: GeneralX Date: Tuesday

[PHP-WIN] ODBC Query max()

2003-03-14 Thread GeneralX
I'm trying to extract one record that has largest sequence ID number for an employee, so I've tried below but doesn't work. Help. $mQuery = "EmployeeID = '$user'"; $mCur = odbc_exec( $mCnx, "select ID=max(ID),Date,TimeIn,TimeOut,StationIP from Clocks where $mQuery" ); -- PHP Windows Mailing