Please help.

WarriorH

New Member
Messages
55
Reaction score
0
Points
0
I know I posted this earlier, but I recently discovered that I needed a new code.. Could you please edit this and fix it? Thank you! I placed the error in orange.

*I am trying to add a variable into Steam// link

while ($row=mysql_fetch_assoc($result)) {
//loop started!
echo "<tr><td>" . "<a href=\"Steam://".$['connectinfo'].\">Click Here To Connect </a>". "</td>"; //start the table row, and echo back the data in connectinfo in the first cell
echo "<td>" . $row['location'] . "</td>"; //echo back location in the 2nd cell
echo "<td>" . $row['leaguelevel'] . "</td>"; //echo back league in the 3rd cell
echo "<td>" . $row['players'] . "</td>"; //echo back players in the 4th cell
echo "<td>" . $row['map'] . "</td>"; //echo back map in the 5th cell
echo "</tr>"; //close the table row
} //loop ended. The loop will repeat as long as there's still data left to display.
 
Last edited:

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
get rid of the \ in the .\"

And please dont be so rude to me in IRC next time
 
Last edited:

marshian

New Member
Messages
526
Reaction score
9
Points
0
yes,

echo "<tr><td>" . "<a href=\"Steam://".$['connectinfo'].\">Click Here To Connect </a>". "</td>";
has to become
PHP:
echo "<tr><td>" . "<a href=\"Steam://".$['connectinfo'].">Click Here To Connect </a>". "</td>";
 
Last edited:
Top