Here is database design:
What I want is:
If a visitor visits the page, check whether he's ip exists in the database
If he's ip exists and the member_name field is empty
echo "Your a Guest";
If he's ip exists and the member_name is filled with any text
echo "Your a member";
else
echo "your not logged in";
|