Line 34:

$postid=$rowid['POST_ID'];