Jump to content

How do you refer to the URL in PHP?


mr.mahon

Recommended Posts

I need to creat a variable from a url like this www.somepage.com/page/?id=43In this example the variable would be 43then I need to query my MySQL database and get a corresponting peice of information from line 43Can anyone help me?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...