Re: POST + QUERY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Davi wrote:
Em Terça 27 Março 2007 17:02, Dave Goodchild escreveu:
use: $_POST['max_id'] ==

or even better:

if (empty($_POST['max_id']))

Why not:

if (!(isset($_POST["max_id")))

?

I think the poster *needs* the value to be set to something...
so if (isset(...)) {} would work
or if they expect the id to be numeric..
if( is_numeric(..)) {} would be even better.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux