Welcome Guest, Not a member yet? Register   Sign In
Help with query structure, upcoming events and birthdays (two separate tables)
#2

[eluser]slowgary[/eluser]
Is there anything specific that you're having problems with? Asking a specific question usually garners more answers since, as it stands, I'm not really sure what to help with.

One helpful function would be PHP's strtotime(), which will let you replace this:
Code:
$this_week = date("Y-m-d H:i", mktime(date("H"),date("i"),0,date("m"),date("d")+$daystoadd,date("Y")));

with this:
Code:
$this_week = date('Y-m-d H:i', strtotime('+1 week'));


Messages In This Thread
Help with query structure, upcoming events and birthdays (two separate tables) - by El Forum - 02-21-2010, 09:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB