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
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
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]
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
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
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.
>
>
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