Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Record Count

New Here ,
Feb 25, 2008 Feb 25, 2008

Copy link to clipboard

Copied

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?

TOPICS
Server side applications

Views

276
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 25, 2008 Feb 25, 2008

Copy link to clipboard

Copied

LATEST
Never mind. I found the answer to my own question:

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines