Question : Group statement

I am trying to query a UNION statement, but am having issues finishing.  I'd like to hav the latest information be displayed from both tables in order of their date.  Any help is greatly appreciated.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
$grabContribs = "SELECT answers.user, answers.answer, answers.qID, answers.date, user_question.question, user_question.id, user_question.make, user_question.model
                        	FROM answers
                         	LEFT JOIN user_question ON answers.qID = user_question.id
                         	WHERE answers.user = '" . $_SESSION['username'] . "'
                         	GROUP BY date
                         	UNION
                         	SELECT how_to.user, how_to.howto, how_to.id, how_to.NULL, how_to.date, how_to.question, how_to.viewable, how_to.make, how_to.model
                         	WHERE how_to.user = '" . $_SESSION['username'] . "'
                         	GROUP BY date";
                        $contribsGrabbed = mysql_query($grabContribs) or die("Grab did not work because: " . mysql_error());
                        	while($c = mysql_fetch_array($contribsGrabbed)) {

Answer : Group statement

Aren't you missing a FROM in the second SELECT? And how_to.NULL will not work, it is just NULL.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
SELECT answers.user, answers.answer, answers.qID, user_question.question,
       answers.date, user_question.id, user_question.make, user_question.model
  FROM answers LEFT JOIN user_question ON answers.qID = user_question.id
 WHERE answers.user = '" . $_SESSION['username'] . "'
UNION
SELECT how_to.user, how_to.howto, how_to.id, NULL,
       how_to.date, how_to.question, how_to.viewable, how_to.make, how_to.model
  FROM how_to LEFT JOIN user_question ON how_to.ID = user_question.id
 WHERE how_to.user = '" . $_SESSION['username'] . "'
ORDER BY 5
Random Solutions  
 
programming4us programming4us