adam291086 Posted December 6, 2007 Share Posted December 6, 2007 I am trying to echo out this echo "<td bgcolor=#c0c0c0><a href="#">$counter<span>lalala</span></td></a>"; the error i get is Parse error: parse error, unexpected '}', expecting ',' or ';' in /homepages/12/d214897219/htdocs/adam/cycling/calendar/adam.php on line 101 but the } on line 101 ends the if statment. When i remove <ahref="#"> and </a> + the <span>,</span> it works fine. Any suugestions? Quote Link to comment Share on other sites More sharing options...
adam291086 Posted December 6, 2007 Author Share Posted December 6, 2007 the "#" was conflicting with the php. Quote Link to comment 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.