Welcome Guest, Not a member yet? Register   Sign In
codeigniter condition

Hi, i'm new with CI and i'm having a big issue with a condition...i know i know this is dummy
but here's what i need
I want users to be able to posts only 2 articles per month.
When the user submit an article i store in the database the date (time) when it was created.
SO....when they will try to post the third article i have to check something like this...
///here's where i have to check him if the user has more then 2 projects posted in one month


the only thing i have managed to work is that he can't post more then 2 projects...
Please help me!

this is the first of a double post. please don't do that.

check your other post for the basics for this problem. if you need more help, ask there.

but be warned - you post is along the lines of "how do I write code", so you'll need patient people who have time to sit down and walk you through it (i.e., this is a rather simple coding issue that has little to do with CI itself). Be sure to take some of your OWN time to explain any questions they ask of you, so they don't just sit and do your work for you.

And welcome to CI.

Theme © iAndrew 2016 - Forum software by © MyBB