PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
while (strtotime($interval, $date) > $base_day) {
// if I put die(); on this line it still loops endlessly!!!
$pay_day = strtotime($interval, $date);
}
Last edited by zeek on Tue Nov 28, 2006 8:43 pm, edited 1 time in total.
Yes I've echoed the values and they are correct. Thank you both for your help. I will just do as you suggested and rewrite it with variables. I was trying to keep it a slim as possible, but I just have to get this done. Thanks again.
OMG the loop was happening after this bit of code. I apologize. I have been at this all day, I guess I'm fried. Thank you again for helping me work though it.