hello every one i want to convert my array into other array type , plz help me out . I m using this
$row = mysql_fetch_array($result, MYSQL_ASSOC);
$row = array(); $row[] = mysql_fetch_array($result, MYSQL_ASSOC);
Normally you'd assign the results like this in a loop
$rows = array(); while ($result = mysql_fetch_array($result, MYSQL_ASSOC)) { $rows[] = $result; }