'pages' Table:
http://img106.imageshack.us/img106/2240/sig2409sm.jpg
I'm sure I've done this right, but it doesn't work.

I'm trying to make it so if you visit the page with ?user=#&page=#, it searches the table for rows with whatever $user and $page are. If they are both in the same row, then it displays 'title' and 'body' from that row. I hope someone understands what I'm talking about... any help is appreciated.
PS. Sorry my code is probably really messy, I'm not too good with PHP / MySQL.
EDIT: Fixed a little of the code.