Re: [PHP] problem referencing a mysql object

2004-02-04 Thread BAO RuiXian
craig wrote: Hi, the problem is that I am trying to use a varible in the objects attribute name. the offending line of code is: echo ""; this is giving the warning: Undefined property: cPic I have tried playing with eval and variable variables to get 'cPic$count' to look like 'cPic1' befor

[PHP] problem referencing a mysql object

2004-02-04 Thread craig
Hi, the problem is that I am trying to use a varible in the objects attribute name. the offending line of code is: echo ""; this is giving the warning: Undefined property: cPic I have tried playing with eval and variable variables to get 'cPic$count' to look like 'cPic1' before trying to us