Re: POST + QUERY

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

 



On 3/27/07, Davi <davividal@xxxxxxxxx> 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")))

?

If form is left empty, it is set, but it's stil empty. So if you
submit a form the normal way, then it should pass this, even if you
leave it empty :)

Tijnema

--
Davi Vidal
davividal@xxxxxxxxxxxxxxxx
davividal@xxxxxxxxx
--

Agora com fortune:
"Around computers it is difficult to find the correct unit of time to
measure progress.  Some cathedrals took a century to complete.  Can you
imagine the grandeur and scope of a program that would take as long?
               -- Epigrams in Programming, ACM SIGPLAN Sept. 1982"

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



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