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