Casting
Posted: Wed Dec 18, 2002 6:45 pm
Hi to all!
I read a record from a mySql table with mysql_fetch_object.
Is there a way to cast it to a particular class, for example, Student? Of course, I have defined a Student class.
Can I do it?
Thanks a lot,
Nicolas
I read a record from a mySql table with mysql_fetch_object.
Is there a way to cast it to a particular class, for example, Student? Of course, I have defined a Student class.
Can I do it?
Thanks a lot,
Nicolas