how to merge two sql queries with PHP -
is possible create 2 "mysql_query" , merge them before i'm using: mysql_fetch_array ? $mainquery_one = mysql_query("select...."); $mainquery_two = mysql_query("select...."); you can use multi_query function exact requirement. manual has relevant explanation sample snippet understanding. to summarize, concatenate 2 query string in single variable , call function variable parameter.