php-db | 2000121
Date: 12/14/00
- Next message: Jochen Schnapka: "[PHP-DB] Compiling with Oracle(8) Support"
- Previous message: Miles Thompson: "Re: [PHP-DB] dbase_ commands dont work"
- In reply to: Ulf Wendel: "Re: [PHP-DB] GOTO?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm not sure but I think php, as every modern non labeled language, hasn't a
"goto" structural statement. I didn't find it on the manual at least .
You should write the code in top-down approach, calling user defined
functions when you need repeat some peace of code.
HTH
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: Ulf Wendel <ulf.wendel <email protected>>
Para: Louis Aslett <laslett <email protected>>
Cc: <php-db <email protected>>; Julio Cuz, Jr. <jcuz <email protected>>
Enviada em: quarta-feira, 13 de dezembro de 2000 17:48
Assunto: Re: [PHP-DB] GOTO?
>
>
> Louis Aslett wrote:
> >
> > Hi Julio,
> >
> > There is a GOTO construct which works much like many other languages,
eg:
> >
> > if ($a == $b)
> > goto END;
> > .. code ..
> > if ($c == $d)
> > goto END;
> > .. code ..
> > END:
> > .. more code ..
>
> Hmm, the snippet does not work on my machine. Can you explain the syntax
> a little better?
>
> Ulf
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jochen Schnapka: "[PHP-DB] Compiling with Oracle(8) Support"
- Previous message: Miles Thompson: "Re: [PHP-DB] dbase_ commands dont work"
- In reply to: Ulf Wendel: "Re: [PHP-DB] GOTO?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

