Skip to main content
Participating Frequently
February 25, 2008
Question

Record Count

  • February 25, 2008
  • 1 reply
  • 291 views
Hi, it sounds like Dreamveaver CS3 has a feature that does this automatically, but I only have Dreamweaver 8. Maybe someone could help... I have a php repeating region that displays records from a MySQL database and I want to display a record count along with record. Attached is the code for the repeating region (simplified to necessities): I'd like to be able to have where it says "Date 1" increment with each record. Can someone help please?

This topic has been closed for replies.

1 reply

Participating Frequently
February 26, 2008
Never mind. I found the answer to my own question:

<?php echo $counter = $counter + 1; ?>