[1] : select tid from user_post where pid='770988' limit 1 
Array
(
    [tid] => 770989
)
Array
(
)
[2] : stage2
[3] : stage3