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@xxxxxxxxxxxxxxxxxx -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php