which should select all the rows from pm where readdate=0 and the to=the logged userPHP Code:$new = mysql_query("select * from pm where readdate = '0' and to = '$logged[id]'");
$new = mysql_num_rows($new);
then further down i've got this
I'm using the techtuts system but with a different database structure, but it doesnt seem to change even if i make it simple and put select from pm where to = 2Code:- <a href=\"messages.php\">Private Messages ($new New)</a><br />
but nuffink![]()
Sorry i forgot to say my error, it says ( New) as in theres no new, but there is new ones






Reply With Quote



