Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Eugene Lee
On Fri, Apr 12, 2002 at 09:36:42AM -0700, Andrew Chase wrote: : : foreach(array_keys($menu_options) as $option_value){ : $option_text = $menu_options[$option_value]; : echo '$option_text'; : } : : would just output : : $option_text : $option_text : $option_text : : which is probably not th

RE: [PHP] Re: Forms in PHP

2002-04-12 Thread Andrew Chase
>May I also suggest that you rewrite your echo statements as: > > echo 'Donate this item'; > >Vastly improves legibility. It's a problem, however, if you want to include a PHP variable in that echo statement, if you're populating a SELECT menu with a loop, for instance; $menu_options = array("A

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Richard Baskett
s well laugh about it now." - Marie Osmond > From: Dave <[EMAIL PROTECTED]> > Date: Fri, 12 Apr 2002 08:33:36 +0200 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: Forms in PHP > > >> >> May I also suggest that you rewrite your echo statements as: >> >

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread José León Serna
Hello: > echo "Donate this item"; > > is there any common use how it should be coded or does it really make no > difference to forget the ""? i'm thinking here of old version of the > php-parser or old webservers which could missunderstand the code. just > to improve compatibility for further proj

Re: [PHP] Re: Forms in PHP

2002-04-12 Thread Dave
> > May I also suggest that you rewrite your echo statements as: > > echo 'Donate this item'; > > Vastly improves legibility. or just echo "Donate this item"; is there any common use how it should be coded or does it really make no difference to forget the ""? i'm thinking here of old v

Re: [PHP] Re: Forms in PHP

2002-04-11 Thread Jason Wong
On Friday 12 April 2002 09:19, Jennifer Downey wrote: > Actually after the submit button is clicked it returns a blank page. > "Jennifer Downey" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi all, > > > > Now I have a weird problem. I am using this cod