GreenGene Posted April 9, 2015 Share Posted April 9, 2015 Ok, I want to do this: if (logins < 10) { header("Location: ../help") } Can i do it? Quote Link to comment https://forums.phpfreaks.com/topic/295382-header-function-help/ Share on other sites More sharing options...
Solution GreenGene Posted April 9, 2015 Author Solution Share Posted April 9, 2015 LOL for got the ; Quote Link to comment https://forums.phpfreaks.com/topic/295382-header-function-help/#findComment-1508612 Share on other sites More sharing options...
rhodesa Posted April 10, 2015 Share Posted April 10, 2015 If you have logins, I assume you have a database to track meta data about the user? Aka username, password, etc. Just add a new column for logins, and each time the login, increase the number. Quote Link to comment https://forums.phpfreaks.com/topic/295382-header-function-help/#findComment-1508640 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.