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?! ??? ??? Quote 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 } Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/97716-t_string-again/#findComment-500007 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.