The Wakaba and Kareha support thread, part 3 (535)

404 Name: Anonymous : 2013-07-22 22:57 ID:Heaven [Del]

Thanks for the additional clarification. I ended up settling for a basic code that needs to be manually adjusted for each new parent thread, but just in case anyone else is interested:

if (mysqli_connect_errno($con))
echo "Failed to connect to MySQL: " . mysqli_connect_error();

$result1=mysqli_query($con, "SELECT count(*) as total from comments where parent='1'");


<?php echo $data1['total']; ?>
Name: Link:
Leave these fields empty (spam trap):
More options...