Try this query instead:
$query_s = mysql_query ("SELECT DISTINCT m.udate,m.title,m.text,m.status,m.section FROM m main,sections WHERE (section LIKE '%$text%' or title LIKE '%$text%' or text LIKE '%$text%' or status LIKE '%$text%') ORDER BY id DESC" ) or die ("No, it ain't working you idiot!");
Basically, you are calling this information from both tables and getting both results. If you add the obve you can use "m" or "s" to select the fields from one specific table. of maybe you want some fields from main and the other from sections:
$query_s = mysql_query ("SELECT DISTINCT m.udate,s.title,s.text,s.status,m.section FROM main m,sections s WHERE (section LIKE '%$text%' or title LIKE '%$text%' or text LIKE '%$text%' or status LIKE '%$text%') ORDER BY id DESC" ) or die ("No, it ain't working you idiot!");
-D