* Marquez Design <[EMAIL PROTECTED]>:
> I have an if statement, and if it is true, I want PHP not to continue.
>
> How do I do this?

if ($a == $b) {
        exit();
}

http://de3.php.net/exit

> The following statement is true
>
> If ($a = $b){

btw: Most of the times you will want to user == in an if-statement :)

Ciao,
  Gerhard

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

Reply via email to