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);
If you need to store all rows returned by the query in an array, try this:
$result = array(); while ( $row = mysql_fetch_array($result, MYSQL_ASSOC) ){ $result[] = $row }