Posted by Gerhard Pfeiffer on 03/26/05 06:31
* Marquez Design <smarquez@marquez-design.com>:
> 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
Navigation:
[Reply to this message]
|