Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Evan Nemerson
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

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Philip Olson
> 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

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
t;{$row[0]}"); > } > } > mysql_close($link); > ?> > > Any more suggestions (please)? > > George > - Original Message - > From: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]> > To: "'George Pitcher'" &l

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
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

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
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

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Derek Mailer
); > } > } > mysql_close($link); > ?> > > Any more suggestions (please)? > > George > - Original Message - > From: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]> > To: "'George Pitcher'" <[EMAIL PR

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Sheridan Saint-Michel
- 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

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Steve Cayford
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

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
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

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
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

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Derek Mailer
; > - 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: >

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Derek Mailer
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

Re: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread George Pitcher
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, > > >