elite_prodigy Posted March 25, 2008 Share Posted March 25, 2008 Parse error: syntax error, unexpected T_STRING in /home/david08/public_html/hasdsecret.co.cc/dirt_digger_archive.php on line 13 <?php $get_articles = "select id, alias, article from dirt_digger"; $get_articles_res = mysql_query($get_articles,$conn) or die(mysql_error()); while ($article_info = mysql_fetch_array($get_articles_res)) { $alias = $article_info[alias]; $title = $article_info[title]; $article = $article_info[article]; $display_block .= "<h1 class="title">$title</h1><br /> $article <br /><br />Author:<br /><strong>$alias</strong><br /><br />"; //line 13 } ?> Why do I keep getting these damn errors?! ??? ??? Link to comment https://forums.phpfreaks.com/topic/97716-t_string-again/ Share on other sites More sharing options...
MadTechie Posted March 25, 2008 Share Posted March 25, 2008 add the \ to the quotes $display_block .= "<h1 class=\"title\">$title</h1><br /> $article <br /><br />Author:<br /><strong>$alias</strong><br /><br />"; //line 13 } Link to comment https://forums.phpfreaks.com/topic/97716-t_string-again/#findComment-499997 Share on other sites More sharing options...
MadTechie Posted March 25, 2008 Share Posted March 25, 2008 Also can you not re-post problems from your other threads.. its classes as double posting Link to comment https://forums.phpfreaks.com/topic/97716-t_string-again/#findComment-500007 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.