RE: [PHP] variable problem - help!

2002-01-16 Thread Rick Emery
$row[coloumname_${v$ariable}] -Original Message- From: Dani [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: [PHP] variable problem - help! Importance: High Hi! I 'm trying not to hard code my php coding and I'm trying

Re: [PHP] variable problem - help!

2002-01-16 Thread Dani
Thanks for the reply! I really appriciate it! I'll try it first! regards, Dani Stefan Rusterholz wrote: > > Hi! > > > > I 'm trying not to hard code my php coding and I'm trying to pass a > > variable name into the $row[coloumname_$variable]; > $row["columname_$variable"] should do it. > $row

Re: [PHP] variable problem - help!

2002-01-16 Thread Stefan Rusterholz
> Hi! > > I 'm trying not to hard code my php coding and I'm trying to pass a > variable name into the $row[coloumname_$variable]; $row["columname_$variable"] should do it. $row[constant] is threaten as constant which is normally not the programmers intention (set_error_reporting(0) and you'll see

Re: [PHP] variable problem - help!

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 12:45 * Dani said > Hi! > > I 'm trying not to hard code my php coding and I'm trying to pass a > variable name into the $row[coloumname_$variable]; > > I get an error message for this code. > > I'm just wondering if I could

[PHP] variable problem - help!

2002-01-16 Thread Dani
Hi! I 'm trying not to hard code my php coding and I'm trying to pass a variable name into the $row[coloumname_$variable]; I get an error message for this code. I'm just wondering if I could do this trick using other ways of writing it. Thanks for reviewing! regards, Dani -- PHP General Ma