I have a query like the following:
mssql_query("SELECT COUNT(*) FROM PRTL_PasswordSecurityQuestions where isPublished = 1 ")
I need to display some content when count is greater than 3. For that I have put the statement like this.
if(mssql_query("SELECT COUNT(*) FROM PRTL_PasswordSecurityQuestions where isPublished = 1 ")>=3)
{......}
Is it correct way to check.Anyway its not working for me.