Not sure if this is in the right forum but i'll just put it here anyway and if it is in the wrong place then could a mod please move it...
anyway now onto the question, I have written a script that will select everything in from a certain database after a certain date, now I want the date to always be the date of the first day of the week but to do this I always have to go into the file and manually change this line
$date = '30713'; // first number is the year, number 2 + 3 is the month and number 4+5 is the date
Is there anyway at all that I can get the script to automatically change the date in the above line to the date of the first day of the week or will I just have to continue editing the file manually?
thx in advance