So like when working with mysql_fetch_object(), how do you do things like this:
$array = array();
while($row = mysql_fetch_object($result))
{
$array[] = $row;
}
How do you accomplish that with objects instead of an array? Like,
$object = new stdClass;
while($row = mysql_fetch_object($result))
{
$object[] = $row;
}
Is there a way to do this without a lot of ugly typecasting?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)