Hi,
I need some help about arrays.
I have made a little search engine for my website and I am getting results back from about four query:
$row1 = mysql_fetch_array($query1);
$row2 = mysql_fetch_array($query2);
$row3 = mysql_fetch_array($query3);
$row4 = mysql_fetch_array($query4);
fields in table are always the same .
What I would like to do is merge all this arrays into one array that I can use to list results all togheter... while merging, I would like also to do two important things:
1) remove records where the files 'id' is the same, leaving only one of them;
2) order array starting from the record 'id' who was mostly repeated...
Anybody here could help me to find way out ?
Thank you very much!
Fabi