I need to find the first and last number with length n and starting with digit d.
For example. i need to find the first and last number with length 6 and starting in 2 The result should be first number=200000 and last number=299999 .
I there any functions available in php to help me to get a logic to solve this.??
Hope Someone can help me..