Php mysql

I got a question to ask:if I had some info stored on my database the database table is userdata and it’s seperated into:
-review
-id
I want it to show the info from the db but to only show the "review"s that have a specific id like:if “id” = $id then show “review”