Reply to Re: [PHP] Ending PHP

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация