Hi I want to get table records all in 1 array. I used mysql_fetch_array() but it was returning the first record only How can all records be stored in 1 array? I have table: symbols1 and symbols2; I want to get all of their data and then use array_merge() to combine the data Thanks for your help
$query = mysql_query("SELECT ..."); $q_array = array(); while($rows = mysql_fetch_array($query)) { $q_array[] = $rows; } PHP: Then you can use $q_array[0]['id] for example. (will get the first row's id column)