Hi, new in PHP stuffs and coding


I have question,

I How do you add randomizing numbers for each reload the number fluctuates from the number i provide (ex. 1-10%) and also add microtime(like 0.3123213 or 1.32423)

Im really newb here at PHP

Hi raz0r and welcome to DanoWeb :)

Not sure exactly what you are trying to do, but the rand function will give you a random number. You can read more about the rand function here.

By microtime, do you mean time to the microsecond? If so, this can be achieved using the microtime function. Here is a link to its documentation.

Let us know if I am off base with what you were after. Good luck!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.