Re: [PHP] filling an array(2)

2002-07-26 Thread Chris Earle
> > > for($m=1;$m<=5;$m++){ > > > $div_idd[$m]=${'row->sub' . $m . 'd'}; > > > } I'm not sure if it will work, but you might try either using the mysql_fetch_array($result); function and then refer to them by $row["src1d"]; or try $div_idd[$m] = $row->$$name; where $name = "sub" . $m . "d"; I'm

Re: [PHP] filling an array(2)

2002-07-26 Thread Steve Buehler
Ok. That makes since. Thanks Steve At 04:20 PM 7/26/2002 -0500, you wrote: >var names can only be letters, numbers, and underscores. > >Jim Grill >Support >Web-1 Hosting >http://www.web-1hosting.net >- Original Message - >From: "Steve Buehler" <[EMAIL PROTECTED]> >To: "PHP" <[EMAIL PROT