Re: [PHP-DB] Re: problems with variables

2003-02-04 Thread Mark
Just a quick correction... if the q part is static, I believe you should use $(q$i) rather than ${$q . $i} --- [EMAIL PROTECTED] wrote: OK, now I get it: $input = 'input type=hidden name=q' . $i . ' value=' . ${$q . $i} . ' . \n; print($input); This one isn't well known so

RE: [PHP-DB] Re: problems with variables

2003-02-04 Thread Ford, Mike [LSS]
-Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: 04 February 2003 14:38 Just a quick correction... if the q part is static, I believe you should use $(q$i) rather than ${$q . $i} Well, actually, I think you want ${'q'.$i} -- or even ${q$i} Cheers! Mike