Hi looking for a litt;e help on this peice of code
PHP Code:
stdhead("Browse");
if ($CURUSER['post_count'] <=2)
{
stdmsg("Sorry...", "You Need a Minimum Of Two Forum Posts (Go To The Forums <a href=\"forums.php\">To Make Your Posts</a>)");
stdfoot();
exit;
}
i want to stop users with under two posts being able to view browse page but this code blocks all users
does any one have an idea as to what im doing wrong thanx