|
-
Dec 15th, 2009, 10:05 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] What is this and how to: Page.php?Something=1763
This is example.
http://www.vbforums.com/member.php?u...m_Number_Of_ID
How do i can make page to get information about the end of navigation bar's information?
-
Dec 15th, 2009, 10:17 AM
#2
Re: What is this and how to: Page.php?Something=1763
That is called a querystring. In this instance, it is feeding the ID of a user and PHP is going to the database and pulling back information related to that ID.
What exactly do you want to accomplish?
-
Dec 15th, 2009, 11:36 AM
#3
Re: What is this and how to: Page.php?Something=1763
a query string is called a 'GET' request. in PHP, the superglobal $_GET is there to allow you access to the query string. to demonstrate how it works:
if we have this url: http://example.com/?text=hello+world, then the $_GET superglobal would be populated like so:
$_GET = array (
[text] => hello world
)
so, you can access the text "hello world" from the URL by referencing $_GET['text'].
if we have this URL instead: http://example.com/?text=hello&name=david, then the $_GET superglobal would be populated like so:
$_GET = array (
[text] => hello
[name] => david
)
so, we would be able to use both $_GET['text'] and $_GET['name'].
it doesn't matter what order they appear in the URL, either.
now, I'm sure the above information was nice to know, but to help you any further, the question kfcSmitty asked is key ("what exactly do you want to accomplish?").
-
Dec 15th, 2009, 01:50 PM
#4
Thread Starter
Hyperactive Member
Re: What is this and how to: Page.php?Something=1763
Thank you so much kows for explaining me this all.
Rep(+)
E: Can't give yet Says that i can't give so much once 
E: Yes i needed those info in first post and thank you for explanation.
Last edited by Zeuz; Dec 15th, 2009 at 01:53 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|