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