Something's wrong

Hello,

One of my links on a web site is this: index.php?p=info&mid=$mid. It recognizes the mid, but for some reason it just isn’t displaying the information from that id… what could it be? When the page shows up, it isn’t even calling the right ID. So I put in a record set, and changed it to index.php?p=info&mid=$id and it goes to the right ID, but the information is wrong!! Please help!!!

Peter