PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
wreed
Forum Newbie
Posts: 12 Joined: Wed Dec 18, 2002 12:12 pm
Location: Butler, NJ
Contact:
Post
by wreed » Tue Dec 24, 2002 7:54 am
I have a echo command as follows
Code: Select all
echo "<tr><td bgColor=$color width=30%><a class='TeamLeadersContent'><b>${title[$i]}:</b></a></td><td class='verb10' bgColor=$color align=left>
<a href='javascript:popitup('playerinfo.php?id=${result[0]}')' target=_blank>${result[1]}</a></td><td bgColor=$color ><a class='TeamLeadersContent'>${result[2]}</td>";
The link shows up as javascript:popitup(in the new browser)....
I know i just have the quotes messed up, anyone able to help?
?>
mydimension
Moderator
Posts: 531 Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:
Post
by mydimension » Tue Dec 24, 2002 10:30 am
change it to this:
Code: Select all
echo "<tr><td bgColor=$color width=30%><a class='TeamLeadersContent'><b>${title[$i]}:</b></a></td><td class='verb10' bgColor=$color align=left>
<a href="javascript:popitup('playerinfo.php?id=${result[0]}')" target=_blank>${result[1]}</a></td><td bgColor=$color ><a class='TeamLeadersContent'>${result[2]}</td>";