2DaysAway Posted January 13, 2008 Share Posted January 13, 2008 Can someone help me figure out why this isn't working? I'm sure I don't have it written properly, so If you could rewrite it the way it's suppose to be, I'd appreciate it. echo"<a href=\"http://www.cartelz.com/roundinfo.php?rid=<?=$rid?>\"onMouseover=\"popup('<span class=styleGreen>Cartelz Round</span><br/>This is the crew round of Cartelz. The Drug Lords are free to run their game in one of two cities, though the only way for them to win any round prizes is to be in the winning crew of the round. This is 30 day round, and you can have a crew of up to 7 Drug Lords.')\"; onMouseout=\"kill()\">Cartel"; Quote Link to comment https://forums.phpfreaks.com/topic/85751-solved-problem-with-echo-statement/ Share on other sites More sharing options...
revraz Posted January 13, 2008 Share Posted January 13, 2008 You are in PHP already since you use the echo command. Remove the <?= ?> in the middle. Quote Link to comment https://forums.phpfreaks.com/topic/85751-solved-problem-with-echo-statement/#findComment-437644 Share on other sites More sharing options...
Ken2k7 Posted January 13, 2008 Share Posted January 13, 2008 echo "<a href=\"http://www.cartelz.com/roundinfo.php?rid=$rid \"onMouseover=\"popup('<span class=styleGreen>Cartelz Round</span><br/>This is the crew round of Cartelz. The Drug Lords are free to run their game in one of two cities, though the only way for them to win any round prizes is to be in the winning crew of the round. This is 30 day round, and you can have a crew of up to 7 Drug Lords.')\"; onMouseout=\"kill()\";>Cartel</a>"; Quote Link to comment https://forums.phpfreaks.com/topic/85751-solved-problem-with-echo-statement/#findComment-437647 Share on other sites More sharing options...
2DaysAway Posted January 13, 2008 Author Share Posted January 13, 2008 Thanks guys, always the little things, lol Quote Link to comment https://forums.phpfreaks.com/topic/85751-solved-problem-with-echo-statement/#findComment-437649 Share on other sites More sharing options...
revraz Posted January 13, 2008 Share Posted January 13, 2008 And don't use short tags Quote Link to comment https://forums.phpfreaks.com/topic/85751-solved-problem-with-echo-statement/#findComment-437657 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.