codice:
<?php while($comment = mysql_fetch_array($comment_query)): ?>
    <?php $num = 0;
    $c_like_query = mysql_query("select `id` FROM `comment`", $connection) or die ("unable to connect" . mysql_error());
    $some = mysql_fetch_array($c_like_query);
    while($some) { $num = $num + 1; } ?>
			<div class="comment-item">
				<div class="comment-post">
					<h3><?php echo $comment['name'] ?><span>
                     <form method="post" action="index.php">
                      <h6>0</h6>
                      <submit value="<?php echo $num ?>" name="hide" type="hidden"></submit>
                      <submit value="+" class="like2" name="like">+</submit>
                      <submit value="-" class="unlike" name="unlike">-</submit>
                     </form>
                    </span>
                   </h3>
				 <p><?php echo $comment['comment']?></p>
				</div>
			</div>
	<?php endwhile?>
Forse ho capito... E' per via del while iniziale che non c'entra una benamata mazza, non è vero?