Re: [PHP-WIN] form question

2003-01-13 Thread Joseph W. Goff
The php.ini settings for error reporting on your IIS machine is set to E_ALL whereas your local machine has the setting of E_ALL & ~E_NOTICE. You can either change the php.ini file, use the error_reporting() function in your program (http://www.php.net/error_reporting) or use isset() on the variab

Re: [PHP-WIN] Re: get row (latest by date)

2003-01-09 Thread Joseph W. Goff
Actually, mysql does not support sub-selects. You can do this however with something like this: select * from your_table order by date_column desc, time_column desc limit 1 - Original Message - From: "Radovan Radic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 09, 20

Re: [PHP-WIN] PHP script not working

2003-01-03 Thread Joseph W. Goff
PHP script not workingHow are you trying to access the posted form variables? $_POST? $HTTP_POST_VARS? If you don't have register_globals on then you must use one of the above methods to access the values posted. - Original Message - From: Alvarez, Anthony To: [EMAIL PROTECTED]

Re: [PHP-WIN] Newbie Form Question

2002-12-17 Thread Joseph W. Goff
Just follow something along these lines: - Original Message - From: "Jerry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 1:57 PM Subject: [PHP-WIN] Newbie Form Question > Hi All, > > I was playing around creating a simple Form for testing simple subtracti

Re: [PHP-WIN] Warning messages

2002-12-16 Thread Joseph W. Goff
Ok, first you really don't want to disable warnings, they let you catch errors just like this. Now on to the rest. The first warning is stating that you don't have access rights to the file or the directory that you are trying to access. Check the permissions of the directory and file to make sur

Re: [PHP-WIN] Getting errors, need help

2002-12-16 Thread Joseph W. Goff
The line just above 43 does not contain a semi-colon. - Original Message - From: "David" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 15, 2002 7:18 PM Subject: [PHP-WIN] Getting errors, need help > Hello all, > > I am new to PHP so I am going to need some help. > >

Re: [PHP-WIN] ordering results

2002-12-11 Thread Joseph W. Goff
Assuming that you are storing the totals in an array then you can use the sort functions that are built into php, else you will have to sort manualy. - Original Message - From: "T B" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 11:31 AM Subject: [PHP-WIN] o