Hello,

I am trying to link up a certain row i am outputting on a site. How would i go about putting multiple lines inside of one echo statement.

echo "<a href='profile.php?player_id=>'".$row['gamertag']."</a>";

That is the current code i am using, but it is now, working, any idea on how to make it work?

You are missing part of the tag, your code would output this:

<a href='profile.php?player_id=>'value_from_$row</a>

The > and ' are the wrong way around for starters, and there will be nothing next to the player_id=

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.