$queryget = mysql_query("SELECT * FROM image WHERE user_id = '$user_id_s'");

while($row = mysql_fetch_assoc($queryget))
{   
    $count_c = $row['image_comment'];
    $count_image++;
    $count_comment = $count_comment + $count_c;

}

for some reason it is not going inside the while loop and ideas?

I know it sounds silly.. but it's happened to me before that I didn't put a semi-colon at the end of my sql query, and it failed since SQL was waiting for a new command...

Try:

$queryget = mysql_query("SELECT * FROM image WHERE user_id = '$user_id_s';");

If that doesnt work, change it to

  $queryget = mysql_query("SELECT * FROM image WHERE user_id = '$user_id_s';") or die (mysql_error());

and see where it is failing.

i tried it but i didnt got any error and didnt worked

ah wait i got it to working. thanks alot