Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how do setup a counter

Featured Replies

Alright today´s question of mine is.

 

How on Earth or Jupiter do you start a counter?

 

I know with loops you can start a static counter 1234567 etc.

 

However is it possible to have a simulatic counter?

Like counter 1 goes automatic to counter 2 and that goes automaticly to counter 3.

 

Instead of showing the numbers behind each other.

 

Offcourse please in PHP not Javascript.

Edited by kensha

Alright today´s question of mine is.

 

How on Earth or Jupiter do you start a counter?

 

I know with loops you can start a static counter 1234567 etc.

 

However is it possible to have a simulatic counter?

Like counter 1 goes automatic to counter 2 and that goes automaticly to counter 3.

 

Instead of showing the numbers behind each other.

 

Offcourse please in PHP not Javascript.

 

please explain more, i dont quite understand what you mean?

  • Author

Like a stopwatch where you click on the green button, the counter starts from 12345678 etc until your press the green counter again.

 

This is what I´m kinda looking for.

please in PHP not Javascript

 

Remember PHP code is executed on the server when the page is served, before the page is sent to the web browser. To update part of a web page after it has loaded, some client side code is required (e.g. Javascript).

Like a stopwatch where you click on the green button, the counter starts from 12345678 etc until your press the green counter again.

 

This is what I´m kinda looking for.

 

ahh i see what you mean now i thought you meant a view counter, yes you need javascript or something equivelant (client side language)

javascript -> setTimeout -> rtfm :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.