you could use die() or exit()
they both take an optional parameter of a string to display when called.
On Fri, 2005-03-25 at 20:12, Marquez Design wrote:
> I have an if statement, and if it is true, I want PHP not to continue.
>
> How do I do this?
>
> The following statement is true
>
> If ($a
I have an if statement, and if it is true, I want PHP not to continue.
How do I do this?
The following statement is true
If ($a = $b){
This
}
Do not continue to the next piece of code, if false, continue to the next
piece of code.
Thanks for any help.
--
Steve Marquez
[EMAIL PROTECTED]
--
2 matches
Mail list logo