Re: POST + QUERY

From: Date: Tue, 27 Mar 2007 20:14:14 +0000
Subject: Re: POST + QUERY
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-251474@lists.php.net to get a copy of this message
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.

« previous php.general (#251474) next »