Posted by Piet on 09/28/40 11:44
Thank you for your fast reaction.
I placed return at the end of the function. It works!.
"Tom Thackrey" <use.signature@nospam.com> schreef in bericht
news:7BQZf.13702$tN3.1280@newssvr27.news.prodigy.net...
>
> On 8-Apr-2006, "Piet" <p.potjer@hccnet.nl> wrote:
>
>> How can I stop a function in PHP?
>>
>> When comparing data I want to stop the function on a hit.
>
> return true;
>
> --
> Tom Thackrey
> www.creative-light.com
> tom (at) creative (dash) light (dot) com
> do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)
Navigation:
[Reply to this message]
|