Hi again! Thanks so much for you helping me..
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="127" bgcolor="#FFFFFF"><span class="style9">From</span></td>
<td width="132" bgcolor="#FFFFFF"><span class="style9">To the end of</span></td>
</tr>
<tr>
<?
$query = "SELECT DATE_FORMAT('%M %D, $Y', fromm) as date1 AND DATE_FORMAT('%M %D, $Y', too) as date2 FROM terms order by fromm";
$result = mysql_query($query) OR die(mysql_error());
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
?>
<td bgcolor="#FFFFFF"><span class="style7"><?
echo ($row['fromm']);
?></span></td>
<td bgcolor="#FFFFFF"><span class="style7"><? echo ($row['too']); ?></span></td>
</tr> <? } ?>
That's the code...
Here is the error i get:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND DATE_FORMAT('%M %D, ', too) as date2 FROM terms order by fromm' at line 1