On another side-note, I haven't had trouble with echo "foo $arr[$a]" which is
very handy in loops (especially for, while, and foreach)
Also, nice to have you back, Maxim
On Wednesday 26 September 2001 09:28 am, you wrote:
> > The reason for it is that within double quote you can parse for 's
> The reason for it is that within double quote you can parse for 'simple'
> variables only (es: $var, not $var[]). Otherwise it gives you a parse
> error.
Just a quick note, this is partially true. The following works :
error_reporting(E_ALL);
$arr = array ('a' => 'apple','b' => 'banana
t; <[EMAIL PROTECTED]>
To: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 3:42 PM
Subject: Re: [PHP] Building Dynamic Value list using ohp
> Thanks for everyone's help but this is still failing to w
What error do you see, George?
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Sheridan Saint-Michel [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 26 settembre 2001 17.01
To: George Pitcher; [EMAIL PROTECTED]
Subject: Re: [PHP] Building Dynamic Value list using ohp
g off wall right now.
George
- Original Message -
From: "Sheridan Saint-Michel" <[EMAIL PROTECTED]>
To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 4:00 PM
Subject: Re: [PHP] Building Dynamic Value list u
);
> }
> }
> mysql_close($link);
> ?>
>
> Any more suggestions (please)?
>
> George
> - Original Message -
> From: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]>
> To: "'George Pitcher'" <[EMAIL PR
- Original Message -
From: "George Pitcher" <[EMAIL PROTECTED]>
To: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 9:42 AM
Subject: Re: [PHP] Building Dynamic Value list using ohp
&g
ting.
>
> Hope this helps - good luck
>
> Derek
>
> - Original Message -
> From: "George Pitcher" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 26, 2001 2:54 PM
> Subject: Re: [PHP] Building
o: "'George Pitcher'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 3:17 PM
Subject: RE: [PHP] Building Dynamic Value list using ohp
1. this:
print("$row[0]");
should be this:
print("{$row[0]}");
or like this:
echo
ssword our to the group,
even so it is your local server (you might not be original with the
password on production machines, no?)
Hope it helps,
Maxim Maletsky
PHPBeginner.com
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 26 settembre 2001 15.31
To: [EMA
;
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "George Pitcher" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 26, 2001 2:46 PM
> Subject: Re: [PHP] Building Dynamic Value list using ohp
>
>
> > hi!
> >
> > try:
>
d adapt the code snippter from
http://www.php.net/manual/en/ref.mysql.php
- Original Message -
From: "George Pitcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 2:54 PM
Subject: Re: [PHP] Building Dynamic Value
ot; <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 2:46 PM
Subject: Re: [PHP] Building Dynamic Value list using ohp
> hi!
>
> try:
>
> $query = "select HEI from heronuser"; // line 22
>
> greetinx!
> gottfried
>
> > Hi all,
> >
>
Hi all,
I'm having a problem with dynamically building a value list.
My code:
$row[0]");
}
}
?>
But this generates:
"Parse error: parse error in c:\program files\apache
group\apache\htdocs\bizflyers\login.php on line 22"
Any suggestions?
Regards
George
_
14 matches
Mail list logo