Php code to genereate random number

How to generate random unique number in php

kaushal Kumar Upadhyay

 

What is PHP?

I am new to web development. I want to know which is easy and best way to learn Web Development so I want to know about PHP.
 

kaushal Kumar Upadhyay

 

How to display date-time difference

I want to display date with ago as 5 days ago or 1 week ago or 1 month ago etc

kaushal Kumar Upadhyay

 

How to add zeros before number to reach on certain digit in php

I want to change 140 into 000149 using php function

kaushal Kumar Upadhyay