No it's not too long, it's just wrong
$sql = "select users., userinfo., userstatus.* post., feedback. from users, userinfo, userstatus, post, feedback where users.id = $uid and userinfo.uid = $uid and userstatus.uid = $uid and post.uid = $uid and feedback.uid = $uid";
You have no joins in this query!
Start by joining the users to users info, then user info to userstatus, then userstatus to post, then post to feedback, then the bit about userid = $uid. At least that's a first guess, as we can't see the actual table details just now.
Then start asking yourself do you really need every single bit of info in every single table?
Then read about normalisation and check that the tables are normalised properly. Which from their names alone, I suspect they are not.