Everything is good but i would like an option over the script that will change the random generated number each x seconds, a value where i can choose on how many seconds another random number will be generated and shown
Unfortunately, the random number changes each page refresh. I don't want to do that.
Even if i would refresh the page, that number should change after a certain time i set,like in your scrit 10 seconds for example. But your script refreshes it after 10 seconds automatically. But if i refresh the page manually it will show a different number every time i do that.