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
>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
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:
>>
>
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
>
> 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
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
6 matches
Mail list logo