Posted on Saturday 2nd June 2007 at 11:22 PM
Hey, I am trying to make a PM system for my site. The only problem is how do I get the ID!!!
I will make the ID the primary key, but there are multiple users, so how would I get the ID that matches with the users Username?
I am lost and I don't understand what I am susposed to do.
DanielXP said to use this:
But I don't understand how that will get the ID from the mysql and target the user to their message.
Please help!
I will make the ID the primary key, but there are multiple users, so how would I get the ID that matches with the users Username?
I am lost and I don't understand what I am susposed to do.
DanielXP said to use this:
PHP Code
$id = (int)$_GET['id']; echo $id;
But I don't understand how that will get the ID from the mysql and target the user to their message.
Please help!