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