Is it possible to create 2 "mysql_query" and merge them together before I'm using: mysql_fetch_array ?
$mainQuery_one = mysql_query("SELECT....");
$mainQuery_two = mysql_query("SELECT....");
Is it possible to create 2 "mysql_query" and merge them together before I'm using: mysql_fetch_array ?
$mainQuery_one = mysql_query("SELECT....");
$mainQuery_two = mysql_query("SELECT....");
You can use multi_query function which for this exact requirement. The manual has all the relevant explanation with the sample snippet for your understanding.
To summarize, concatenate the two query string in a single variable and call the function with this variable as a parameter.