The code for this is generated by <a href="http://mysite.net/index.php/details.php?mid='.$v['id'].'"> (the number is chosen depending on which link is selected. - the ID is being retrieved from a database)
I'd like to create a seperate link that whenever its clicked it throws a random number in place. Can anyone help me achieve this?
Indeed, it is. Doesn't mean we have to like it.
But at certain size you can make the "there is nowhere else to go to", ie see Apple/Google vs Epic Games lawsuit. Apple got struck down hard, even though you "can go elsewhere". Apple is 100% monopolistic on iOS though, Google is only 99% on Android, so I guess the comparison isn't exact.
But there's nothing illegal about it, that's the point. YouTube can be abusive with its policies, but they can always show you the door and you can always go to another platform. The problem is that everyone wants to be on YouTube. Think of YouTube as the Nvidia of video platforms.
Its sucks really hard, but it's the reality.
Question
marklcfc
I'd like to generate a random number from between 1 and 5000,
This is how a link normally looks on my website - http://mysite.net/in...ils.php?mid=754
The code for this is generated by <a href="http://mysite.net/index.php/details.php?mid='.$v['id'].'"> (the number is chosen depending on which link is selected. - the ID is being retrieved from a database)
I'd like to create a seperate link that whenever its clicked it throws a random number in place. Can anyone help me achieve this?
Link to comment
https://www.neowin.net/forum/topic/1059738-random-number-in-htmlphp-link/Share on other sites
10 answers to this question
Recommended Posts