Welcome Guest, Not a member yet? Register   Sign In
Mysql Query Issue [Solved]
#2

[eluser]xwero[/eluser]
Why not do it all in mysql?
Quote:WHERE DATE_FORMAT(rTimeStamp,'%Y-%m') = DATE_FORMAT(CURDATE() - INTERVAL 1 MONTH,'%Y-%m')


Messages In This Thread
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 02:48 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:06 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:13 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:19 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:24 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:33 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:39 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 03:48 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 04:06 AM
Mysql Query Issue [Solved] - by El Forum - 01-13-2009, 04:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB