EDIT: Welcome to </DiC>

Feel free to drop by introduction to introduce yourself to the community.
Your idea of the loop is not bad but I dont recommend a Do While for the procedure you are following.
Do While is an Exit-condition loop as in it does the conditional test at the end of each cycle.. This means the do while will run at least once Even if the loop condition returns to false.
So for example, your variables :
php
<?php
echo $row_Recordset1['headline'];
$row_Recordset1['publisher'];
$row_Recordset1['pubdate'];
?>
will be called before they are assigned a value, therefore printing an error displaying unknown variable.
Use a while loop;
php
<?php
while ($row_Recordset1 = mysql_fetch_assoc($Recordset1))
{
<p class="newsHeadlineIndex"> <?php echo $row_Recordset1['headline']; ?> (<?php echo $row_Recordset1['publisher']; ?> - <?php echo $row_Recordset1['pubdate']; ?>)</p>
<p> <?php echo $row_Recordset1['shorttext']; ?></p>
<?php
}
?>
While loop is an entry-condition loop; it does the conditional tests before launching the loop inside and this is good because it sets the values for the $row_Recordset1 variable at the condition-test part of the loop.

I hope i helped a little.
This post has been edited by _net: 28 Mar, 2008 - 09:43 AM