I want to use it in this function that i am creating (it's for a resteraunt automated tips system, to work out how much tips each staff member is entitled to.
========================================================================
function tips($weekstart){
/* JUST BELOW HERE IS WHERE I NEED TO GET THE DATE OF 6
DAYS AFTER THE
SPECIFIED DATE OF THE START OF THE WEEK */
$weekend = date($weekstart +6); $query = "SELECT * FROM Rota WHERE date => $weekstart
AND date <= $weekend ORDER BY staffid";etc...
_________________________________________________________________
Surf together with new Shared Browsing http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
