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
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-planning system
Of 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 timestamp
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_date);
4 matches
Mail list logo