Organizational Research By

Surprising Reserch Topic questions - Question:Get last month index from sql output in codeigniter?


$SQL = "SELECT value FROM shpb_control WHERE control_id='bulan'";
$Q = $obj->db->query($SQL);
For example, $month_now='02'
What is the function in PHP, to get the last month = '01" ?
$month_now = '02', and $month_previous = '01' ,,

asked Sep 13, 2013 in MYSQL by anonymous
edited Sep 12, 2013
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.