Posted by badar.waqas@gmail.com on 11/15/07 09:03
On Nov 15, 10:34 am, mtuller <mitul...@gmail.com> wrote:
> I want to pull part of the URI out to dictate what is pulled from the
> database. For example, I want to control what year data is displayed
> with a url like this:http://www.mysite.com/display.php?year=2007
>
> I want to pull out the 2007. I can grab the uri, but what is the best
> way to pull out just the 2007?
See parse and parse_url function in PHP manual.
[Back to original message]
|