zianole
Programmer
- Jan 9, 2007
- 16
How can i access a field value through variable name
for example
if id is database table column then through
$row->id;
i can get its value but if i want to use a variable like
$var="id";
$row->anyfunction($var);
is there a way to to this?
for example
if id is database table column then through
$row->id;
i can get its value but if i want to use a variable like
$var="id";
$row->anyfunction($var);
is there a way to to this?