while help
Posted: Thu Jul 13, 2006 10:11 pm
patrikG | Please use
patrikG | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
i have this while loop but it never displayes the first row - whichever colum i sort by it wil always start from the scond row. HELP!Code: Select all
while($act2=mysql_fetch_array($act))
{
echo '<table width="545" border="1" cellspacing="2" cellpadding="0" height="113">
<tr>
<td colspan="6" width="535"><strong>'.$act2['act_title'].'</strong></td>
</tr>
<tr>
<td width="42"><strong>Date:</strong></td>
<td width="90">'.date("j-m-y" ,$act2[act_date]).'</td>
<td width="53"><strong>Subcat:</strong></td>
<td width="120">Activities</td>
<td width="70"><strong>assoc files</strong></td>
<td width="140">'.$act2['assoc_files'].'</td>
</tr>
<tr height="57">
<td colspan="6" width="535" height="57">'.$act2['short_desc'].
'<br><A Href="/det_dl.php?subcat=activities&id='.$act2['act_id'].'">Click here for more.</a></td>
</tr>
</table>';
}Code: Select all
andCode: Select all
tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]