Re: [PHP-DB] creating a date array

2003-03-25 Thread CPT John W. Holmes
trying to make an array with every date (in -MM-DD format) of the current week in it... the below code ain't working, any ideas?! cheers, dave function createdatearray($sunday){ $date = date('Ymd',strtotime($date)); for($x=0; $x=7; $x++){ $y = $x + 1; $date[$y] =

RE: [PHP-DB] creating a date array

2003-03-25 Thread Boaz Yahav
PROTECTED] Subject: Re: [PHP-DB] creating a date array trying to make an array with every date (in -MM-DD format) of the current week in it... the below code ain't working, any ideas?! cheers, dave function createdatearray($sunday){ $date = date('Ymd',strtotime($date)); for($x=0; $x=7; $x