Here’s the code I have so far:
$url = substr($url,0,10);
This produces a URL like this:
domain.com/my-web-pag.php
What I would like to do is some how figure out a way to add the date into the URL
date('m-d-y');
so that the final url would look like this:
domain.com/10-03-12-my-web-pag.php
Would someone mind helping piece that code together for me? I greatly appreciate any one who is willing to help. Thank you!
This will show something like site.com/10-29-12-my-web-pag.php