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? Link to comment https://forums.phpfreaks.com/topic/80470-solved-php-echoing-html/ Share on other sites More sharing options...
adam291086 Posted December 6, 2007 Author Share Posted December 6, 2007 the "#" was conflicting with the php. Link to comment https://forums.phpfreaks.com/topic/80470-solved-php-echoing-html/#findComment-407952 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.