Jump to content


Photo

help with link


  • Please log in to reply
3 replies to this topic

#1 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 08 August 2006 - 10:30 AM

ok i want to link people on my website to their gamercards on xbox live!

<a href="http://profile.mygamercard.net/gamertag">
<img src="http://card.mygamerc...et/gel/Default/gamertag.png" border=0>

The parts in bold are going to be the usernames of the people signed up to my website! so by using php, im sure there is a way to make their username go where the bold parts are, and for their gamercards to show up on their profile pages!

could anyone help me?

#2 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 08 August 2006 - 10:32 AM

<?php
$gamertag = 'usename';
echo "<a href='http://profile.mygamercard.net/$gamertag'>";
?>


#3 skroks609

skroks609
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 08 August 2006 - 10:33 AM

damn. i was just about to say that  :-\
All windows computers will crash in 2057
Or will they??...

#4 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 08 August 2006 - 10:39 AM

thankyou, im only just starting out with php and sql so need all the help i can get, thanx!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users