I have read around 5-10 different posts on this subject and none of the give a clear example. they explain the backstory.
- i have a MySQL database with records from number "1" to "500000"
- I want the URLS to be based on these record ID numbers
- I want the URL to stay at a constant between 3-5 numbers
Example:
http://wwwurl.com/1 would be http://wwwurl.com/ASd234s again http://wwwurl.com/5000000 would be http://wwwurl.com/Y2v0R4r
Can I get a clear exmaple of a function code to make this work, thanks.