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;{$row[0]}");
> }
> }
> mysql_close($link);
> ?>
>
> Any more suggestions (please)?
>
> George
> - Original Message -
> From: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]>
> To: "'George Pitcher'" &l
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
1. this:
print("$row[0]");
should be this:
print("{$row[0]}");
or like this:
echo ''.$row[0].'');
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.
2. this:
mys
;
> - 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,
> >
>
13 matches
Mail list logo