Accumulating number on labels

Discussion in 'HTML and CSS' started by Tommyy, Oct 15, 2019.

  1. Tommyy


    Oct 15, 2019
    Likes Received:
    Hi there,

    I am trying to work out how to add a number to each of my labels. For example; First label has a 1 on it, second label has a 2 on it, etc. But it needs to be dynamic/accumulating as there are always different amounts of labels being produced each time the program runs and only a single program per label. Hope that all makes sense.

    Attached is an example of the final product (1_LabelsProgram.txt) and both files for creating (LabelProgram.txt and LabelsProgram.txt)

    Also attached what I'm trying to get it to look like (label with numbers.png)

    Thanks a lot!!

    Attached Files:

    Tommyy, Oct 15, 2019
    1. Advertisements

  2. Tommyy


    Oct 29, 2019
    Likes Received:
    This forum is HTML.
    You question sound as PHP/ASP/Python...

    You want use JavaScript ?
    Why not do this with PHP, ASP, JSP ?
    TheCodingForums, Oct 29, 2019
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.