if ($db->num_rows($result) > 0)
{
while ($row_actor = $db->get_row($result))
{
$id_actor = $row_actor['id'];
$xf_actor = $row_actor['xfields'];
$alt_name_actor = $row_actor['alt_name'];
}
}
if ($rows = $db->get_row($result))
{
foreach($rows as $row_actor)
{
$id_actor = $row_actor['id'];
$xf_actor = $row_actor['xfields'];
$alt_name_actor = $row_actor['alt_name'];
}
}