Quick PHP question that ain't working for me

I’m trying to run something like this

[php]if ($usercount <= 5) {

}[/php]

Basically what I want to accomplish is that when the users logs in check to see if there count is less than or equal to 5 if it is expose this popup window (right now i’m using greybox for other popups that don’t get blocked, but so far I can only expose them by using a link and calling the function) so someone suggest I use java to accomplish this but when I run something like above the page don’t parse no error no nothing just white screen… I’ve tried setting the java into a HEREDOC that didn’t work either…

any suggestions

Is this the actual code you are using?

You need to echo the entire function, with how you have it now, php thinks its a php function.

Sponsor our Newsletter | Privacy Policy | Terms of Service