helo help
$stmt=mysqli_prepare($dbc,"SELECT*FROM comments WHERE user_id=? ORDER BY ptime DESC");
if($stmt)
{
mysqli_stmt_bind_param($stmt,"i",$llive_id);
//$query_post="SELECT*FROM comments WHERE user_id='$live_id' ORDER BY ptime DESC";
//$results=mysqli_query($dbc,$query_post);
//$bgclr=array("#66fa66","#76e0f6","#f6fe7e");
//if($results)
mysqli_stmt_bind_result($stmt,$cmmnt_id,$usrid,$usernname,$mmain_cmmnt,$ttime);
mysqli_stmt_execute($stmt);
$stmt->store_result();
while(mysqli_stmt_fetch($stmt))
(see full text)