Add a label with the amount close to the field

Asked

Viewed 29 times

2

I want to make a button or text field, for example, email, which tells the amount of emails on top of the text. Something like:

Emails¹³

This is done in PHP or HTML?

1 answer

1


You have to use HTML and CSS to customize the presentation mode.

The value to be displayed there, you can insert in HTML but then it would be static. Assuming that this value is dynamic, that is, it will be changed, you can use PHP and Mysql to get it from a database.

Another alternative would be to use Javascript.

  • the aesthetic part I already have ...so basically I would still have to create a comic to store a string and redirect?

  • Everything depends on what you want to show/present. Where exactly you want to present?

  • would be so have a domain already working and he registered an email, I developed a ADM panel to handle it and one of the menus is access to email, so I wanted to leave this little number on top of the word incrementing or decreasing every time I arrive or I read an email...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.