brazer Posted August 11, 2008 Report Share Posted August 11, 2008 (edited) Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:\AppServ\www\links.php on line 8 <ul> <?php $connect = mysql_connect("localhost", "root", "parole"); mysql_select_db("linksdb", $connect); $query = mysql_query("SELECT * FROM `links`", $connect); while($row = mysql_fetch_array($query, MYSQL_ASSOC)) { echo "<li><a href="linkcount.php?id=$row[id]">$row[sitename]</a> ($row[hitsout])</li> n"; } ?> </ul> Kur ir kļūda? Edited August 11, 2008 by brazer Link to comment Share on other sites More sharing options...
lucian Posted August 11, 2008 Report Share Posted August 11, 2008 ipasi neiedzilinajos, bet manuprat saja rindina: $query = mysql_query("SELECT * FROM `links`", $connect); vardam links jabus pedinas! Link to comment Share on other sites More sharing options...
Norek Posted August 11, 2008 Report Share Posted August 11, 2008 PHP <? echo '<li><a href="linkcount.php?id='.$row["id"].'">'.$row["sitename"].'</a> ('.$row["hitsout"].')</li>'; ?> Link to comment Share on other sites More sharing options...
lucian Posted August 11, 2008 Report Share Posted August 11, 2008 Jap kluda no manas puses N0r3k ir taisniiba.. ja neiet shita tad.. hz kas par problemu! Link to comment Share on other sites More sharing options...
brazer Posted August 11, 2008 Author Report Share Posted August 11, 2008 n0r3k paldies vari lockot ciet. Link to comment Share on other sites More sharing options...
Recommended Posts