Jump to content

T_STRING: again!


elite_prodigy

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.