Not sure what is wrong here
print " | <a href='#comments' onclick='window.open(\"comments_edit.php?comments=".$row->ID."\", \"TheWindow\", \"height=400,width=500\")'>Edit</a>";
print "<br><br>$row_front ".str_replace("\n","<br>$row_front ",wordwrap(htmlentities($row->comment), 120-($row_num*6), "\n"))."</div><br> \n";
when I open comment_edit.php I get
Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/jsuspens/public_html/shimprogram/VDB/Free_/comments_edit.php on line 10
line 10 is
$result=mysqli_query($dbc,"SELECT * FROM comments WHERE ID=$comments AND login_id=$login_id".mysqli_error());
anyone see my error?