Jump to content


Photo

Stupid question


  • Please log in to reply
2 replies to this topic

#1 voyde

voyde
  • Members
  • PipPipPip
  • Advanced Member
  • 34 posts

Posted 22 October 2006 - 01:38 AM

Im working on a gamertag script, however I need it to recieve dynamic names right now its a static name.

im looking for something  like index.php?tag=someones name here which would display their name

And if that doesnt make sense ill go into it deeper.

when index.php is displayed it will just display the name inside the script, i need it so I can have it like

index.php?tag=another name

if i need to explain more please let me know

#2 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 22 October 2006 - 01:55 AM

If I am understanding you correctly. I think that the answer to your question is $_GET['tag']

something like this.

$tag = $_GET['tag'];

echo "Hello $tag";

Is that what you meant?

Tom

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#3 voyde

voyde
  • Members
  • PipPipPip
  • Advanced Member
  • 34 posts

Posted 22 October 2006 - 01:59 AM

told you it was stupid lol

Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users