I have created a project to complete with the IF function today. I am going to explore it inside out.

Let me ask you guysand I am not asking for the codes, I simply would like to learn a bout how I can go about searching for what I need.

In my IF exercise today I need to find a way to set some variables in order to figure out the first day of the month. Think of it as collecting rent from my tenants on the first of each month. A variable amount of $ is due by a variable amount of tenants who may or may not be charged late fee. I don't know how to set the date variable for this. It obviously revolves around some sort of date and time manipulation. If you guys didn't know how to write this code, where would you go in order to start looking on how to build the code for what you need. is there a better site than another? a better reference book than another?

Why can’t I use certain words like "drop" as part of my Security Question answers?
There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".

Going back to one of my previous suggestions, the best place to look for answers about PHP is to go to the source PHP.net.

If you search for date or time there you will eventually find this page with a list of Date/Time functions. Each one has an example of how to use it.

PHP.net is an invaluable resource because they have thoroughly documented every aspect of the language. Since they develop PHP, it's the most accurate information you will find anywhere. I don't know a single PHP developer that doesn't have the site bookmarked and uses it frequently.