darkfreaks Posted February 11, 2008 Share Posted February 11, 2008 if anyone can figure it out let me know ??? <?php define('QUADODO_IN_SYSTEM', true); require_once('includes/header2.php') //this line is the one erroring echo "<h1>COVENS</h1> <a href='../coven/creatcoven.php'>Click here to create your own coven</a> <p> <table width=\"80%\" cellpadding=\"0\" cellspacing=\"0\"> <tr valign=\"top\"> <td width=\"20%\">Name</td> <td width=\"20%\">Started by</td> <td width=\"20%\">Topics</td> <td width=\"20%\">Date</td> </tr>"; include ('config.php'); $query=strip_tags_attributes($query); $query=trim(mysql_real_escape_string($query)); $query = "SELECT * FROM vc_coven ORDER BY `id` DESC LIMIT 0,100"; $result = mysql_query($query); $num=mysql_num_rows($result); mysql_close(); $i=0; for ($i = 0; $i < $num; $i++) { $id = mysql_result($result,$i,"id"); $name = mysql_result($result,$i,"name"); $date = mysql_result($result,$i,"date"); $username = mysql_result($result,$i,"startedby"); echo "<tr valign=\"top\"> <td width=\"20%\"> <a href=\"../covens/$name\">$name</a> </td> <td width=\"20%\"> <a href='../profile/$username'>$username</a> </td>"; include ('config.php'); $query3=trim(mysql_real_escape_string($query3)); $query=strip_tags_attributes($query); $query3 = "SELECT * FROM vc_coventopics WHERE covid='$id' ORDER BY `catid`"; $result3 = mysql_query($query3); $count=mysql_num_rows($result3); echo "<td>$count Topic(s)</td>"; echo "<td> $date </td> </tr> "; }; echo "</table>"; require_once('includes/footer.php'); ?> Link to comment https://forums.phpfreaks.com/topic/90550-unexpectec-t_echo/ Share on other sites More sharing options...
revraz Posted February 11, 2008 Share Posted February 11, 2008 Missing semi colon require_once('includes/header2.php'); <-- Link to comment https://forums.phpfreaks.com/topic/90550-unexpectec-t_echo/#findComment-464253 Share on other sites More sharing options...
darkfreaks Posted February 11, 2008 Author Share Posted February 11, 2008 thanks guys and what happened to topic solved did it dissappear? Link to comment https://forums.phpfreaks.com/topic/90550-unexpectec-t_echo/#findComment-464259 Share on other sites More sharing options...
revraz Posted February 11, 2008 Share Posted February 11, 2008 I'm only 1 person. And I believe they know the Topic Solved button is missing since the update. Link to comment https://forums.phpfreaks.com/topic/90550-unexpectec-t_echo/#findComment-464266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.