Jump to content


what is it called when something like ?user_name= is added at the end of a url


  • Please log in to reply
1 reply to this topic

#1 Guest_D1proball_*

Guest_D1proball_*
  • Guests

Posted 21 March 2006 - 11:43 PM

what is it called when something like ?user_name= is added at the end of a url. Can somebody link me to a tutorial?

#2 Prismatic

Prismatic
  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego

Posted 22 March 2006 - 01:13 AM

[!--quoteo(post=357141:date=Mar 21 2006, 06:43 PM:name=D1proball)--][div class=\'quotetop\']QUOTE(D1proball @ Mar 21 2006, 06:43 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
what is it called when something like ?user_name= is added at the end of a url. Can somebody link me to a tutorial?
[/quote]

here, the tutorial :|

<?php
//URL is: http://www.mysite.com/index.php?name=bob

//Grab the value of "name" from the URL
$name = $_GET['name'];

//Echo it.
echo $name;
?>

[a href=\"http://www.php.net/manual/en/reserved.variables.php#reserved.variables.get\" target=\"_blank\"]http://www.php.net/manual/en/reserved.vari...d.variables.get[/a]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users