I have been having problems using date and time functions in PHP. I am trying to design a schedule with a Calendar. I tried to use the following line of code to output the current month i.e. February. The line of code I have used is this :
$month = mysql_query("select monthname(curdate( ))"
I am getting the following output from this:
Resource id#6
Could somebody please explain why I am getting this output and are there alternative ways of getting the information I need
$month = mysql_query("select monthname(curdate( ))"
I am getting the following output from this:
Resource id#6
Could somebody please explain why I am getting this output and are there alternative ways of getting the information I need