All pastes #733001 Raw Edit

Mine

public text v1 · immutable
·published 2007-10-11 13:26 UTC
rendered paste body
function unread_message($username)
	{
		$query = "SELECT * FROM inbox WHERE Destination='$username'";
		$result = mysql_query($query);
		$total = mysql_numrows($result);
		if ($total == '') { $total = 0; }
	}