Re: [PHP-WIN] Re: Not getting correct results from $_POST

2005-09-12 Thread Alf Stockton
Mark Rees wrote: Please suggest what I have done wrong with the following lines of php:- $MachineNum = $_POST['led']; // led is the variable in the html that For some reason, despite what was in the html, I had to use $_GET Problem solved, thanks for the help. -- Regards, Alf Stockton

RE: [PHP-WIN] Re: Not getting correct results from $_POST

2005-09-12 Thread Luis Moreira
You are welcome -Original Message- From: Mark Rees [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 12 de Setembro de 2005 15:21 To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Re: Not getting correct results from $_POST Please use reply-all to make sure that your message goes to

Re: [PHP-WIN] Re: Not getting correct results from $_POST

2005-09-12 Thread Mark Rees
Please use reply-all to make sure that your message goes to the list - Original Message - From: "Luis Moreira" <[EMAIL PROTECTED]> To: "'Mark Rees'" <[EMAIL PROTECTED]> Sent: Monday, September 12, 2005 3:15 PM Subject: RE: [PHP-WIN] Re: Not ge

[PHP-WIN] Re: Not getting correct results from $_POST

2005-09-12 Thread Mark Rees
> Please suggest what I have done wrong with the following lines of php:- > > $MachineNum = $_POST['led']; // led is the variable in the html that calls this php > > $SQL = sprintf("select a_date, a_time, amnt from register where mac_name > = %s and message_id = 34 or message_id = 35 order by a_d