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 Quote Link to comment https://forums.phpfreaks.com/topic/251074-first-and-last-with-do/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.