Alex Major wrote:
Hi list.
Basically, I'm still learning new things about php and I was wondering if
things inside an if statement get 'looked at' by a script if the condition
is false.
For example, would this mysql query get executed if $number = 0 ?
If ($number == 1) {
mysql_query($blah)
}
M. Sokolewicz wrote:
Gh wrote:
I would like to know how I can code the the following conditional
check if the $_GET['api'] does not exist, or is either set and has
no length or is set and is not an integer.
I am drawing a blank on the if statement to use
I meant to say the following (notice
Gh wrote:
I would like to know how I can code the the following conditional
check if the $_GET['api'] does not exist, or is either set and has
no length or is set and is not an integer.
I am drawing a blank on the if statement to use
if(!isset($_GET['api'] || strlen($_GET['api']) == 0 ||
!
3 matches
Mail list logo