Jump to content

Simple PM system


Dysan

Recommended Posts

or what i do is just set up a query to run on the particular page:

 

$q_pm = "SELECT * FROM `pms` WHERE `id`='$loggedin_users_id'";
$r_pm = mysql_query($q_pm);

if(mysql_num_rows() > 0)
{
print("You have a private message!");
}

 

there a good few ways to improve it though

 

hope it helps

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/96207-simple-pm-system/#findComment-492509
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.