ryanfilard Posted November 13, 2011 Share Posted November 13, 2011 I currently am using this <?PHP do { ?> <h1><?PHP echo $texthead; ?></h1> <p><?PHP echo $text; ?></p> <?PHP } while ($row_bodynav = mysql_fetch_assoc($bodynav)); ?> I am not sure how to make it display something different for the first result. It would usually be like this Text Text Text Text But I would like it to do something like this. Text Text Text Text Link to comment https://forums.phpfreaks.com/topic/251074-first-and-last-with-do/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.