Re: [PHP] need help breaking out of loop.

2003-06-26 Thread David Otton
On Thu, 26 Jun 2003 13:00:45 +0200, you wrote: > What am I missing? At first glance >while ($i <= $number_of_days) > { > $issue_date = strftime("%Y-%m-%d", $current_date); > $issue_month = date("m", $current_date); > $issue_day = date("d", $current

RE: [PHP] need help breaking out of loop.

2003-06-26 Thread Naintara Jain
anders thoresson Sent: Thursday, June 26, 2003 4:31 PM To: [EMAIL PROTECTED] Subject: [PHP] need help breaking out of loop. Hi, I'm working of a PHP-MySQL-planning system for a newspaper. I want to add dates and number for each issue. I have to following code, where $current_date is a unix time

RE: [PHP] need help breaking out of loop.[Scanned]

2003-06-26 Thread Michael Egan
Anders, Are you missing a '|' in the if condition? Michael Egan -Original Message- From: anders thoresson [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 12:01 To: [EMAIL PROTECTED] Subject: [PHP] need help breaking out of loop.[Scanned] Hi, I'm working of a PHP-MySQL-

[PHP] need help breaking out of loop.

2003-06-26 Thread anders thoresson
Hi, I'm working of a PHP-MySQL-planning system for a newspaper. I want to add dates and number for each issue. I have to following code, where $current_date is a unix timestamp. If $current_date is a Saturday or Sunday, I want to quit the current execution of the loop and contiune with the nex