I don't use goto statements very often, but I'm doing something a little complicated, and a goto statement would be the simplest solution. Unfortunately, my Web host is running PHP 5.2 and the goto statement is in 5.3. Is there anything resembling a goto in PHP 5.2?
Thanks in advance.
goto equivalent under PHP 5.2?
Moderator: General Moderators
-
permutations
- Forum Commoner
- Posts: 52
- Joined: Sat Dec 07, 2002 11:45 am
Re: goto equivalent under PHP 5.2?
You're doing it wrong.
There's certainly a better way. If you can post your code we can help you.
-
permutations
- Forum Commoner
- Posts: 52
- Joined: Sat Dec 07, 2002 11:45 am
Re: goto equivalent under PHP 5.2?
I already wrote it another way. Not a big deal.