Writing like a Madman
I know it seems like I barely write these days, but I assure you, I’m writing more than ever.
The problem is my writing looks like this:
if ($appointment2->recurring) {
$recur_stamp = mktime(0,0,0,$month,$day,$year);
for ($i = 0;$i < $appointment2->recur_weeks;$i++) {
// add 7 days to the recurring date
$recur_stamp = mktime(0,0,0,$month,$day + ($i * 7),$year);
$date = date("m/d/Y", mktime(0,0,0,date("m", $recur_stamp),
date("d", $recur_stamp),
date("Y", $recur_stamp)));
$objAppointments->setscheduled_date($date);
// new appointment
$objAppointments->setid(0);
if (!$objAppointments->save()) {
$ret[0] = 0;
$ret[1] = $objAppointments->error[0];
return $ret;
}
}
$ret[0] = 1;
$ret[1] = "Booked $i appointments!";
return $ret;
}
When I finally have the time to start writing stuff that is readable by human beings, I promise to do so. After April 15, things should free up for me.
I hope you’re all doing well and thanks for continuing to drop by.
April 5th, 2006 at 8:58 am
Ever drink so much coffee your hands start to sweat?
April 5th, 2006 at 10:17 am
Ever drink so much rye you pass out and shit your pants?
April 5th, 2006 at 11:53 am
Ever smoke so much crack you thought you saw a leprechaun?
April 5th, 2006 at 12:53 pm
$recur_stamp=mktime()//$: – good luck with your work Ade… //C:dos
April 5th, 2006 at 3:22 pm
I wanna know where da gold at?