I have this code:
$Result = DBQuery("SELECT user_id,nick_name,email FROM users LIMIT $fromindex.",".$numOfUsers);
if ($Result)
{
$resultUsers->UersData=$Result;
}
The problem is that the results U get are in some kind of format that i don't know.
I want to get the results in array format, which every element of that array should be a value object class of this type:
class UserVO {
var $_explicitType="UserVO";
var $id;
var $nickName;
var $email;
}
Any idea how it can be done?