|
Posted by Matthew Fonda on 03/26/05 06:36
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 = $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
smarquez@marquez-design.com
--
Regards,
Matthew Fonda
http://mfonda.info
Navigation:
[Reply to this message]
|