Re: Issues using Week() or Weekofyear() functions with php

2004-01-16 Thread Alex croes
Ben Whitesell wrote: I'm trying to use the week() or weekofyear() functions in a php script. Here's a clipping of the code: $sql = "SELECT WEEK('2004/06/01')"; echo $sql; //used for checking purposes $week = mysql_query($sql, $link);//where $link is in an inc file

Issues using Week() or Weekofyear() functions with php

2004-01-16 Thread Ben Whitesell
I'm trying to use the week() or weekofyear() functions in a php script. Here's a clipping of the code: $sql = "SELECT WEEK('2004/06/01')"; echo $sql; //used for checking purposes $week = mysql_query($sql, $link);//where $link is in an inc file linking that file