// Ok, I have a loop:
for ($i = $Date; $i = $sDate; $i--)
// Somthing like this is inside the loop:
if ($Exists)
echo Something here.;
else
$sDate--;
I have it check if it exists, if it doesn't, then it reduces $sDate by 1.
$sDate is initially 3 to 31 days less than $Date.
By reducing $sDate
On 10 September 2003 11:26, zavaboy contributed these pearls of wisdom:
// Ok, I have a loop:
for ($i = $Date; $i = $sDate; $i--)
// Somthing like this is inside the loop:
if ($Exists)
echo Something here.;
else
$sDate--;
I have it check if it exists, if it doesn't, then it reduces
if I wait untill $sDate is zero, it'll be in 2000.
I have $Date based on the current date, like to day is: 03252
03 is the year 252 is the day of the year.
Mike Ford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 10 September 2003 11:26, zavaboy contributed these pearls of wisdom:
On 10 September 2003 12:14, zavaboy contributed these pearls of wisdom:
if I wait untill $sDate is zero, it'll be in 2000.
I have $Date based on the current date, like to day is: 03252
03 is the year 252 is the day of the year.
So for goodness' sake just choose a sensible value to limit the
Ok, I may be a little bad at telling people what exactly I want.
Probably I should try and figure this out for myself, I'm good at that! :D
Mike Ford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 10 September 2003 12:14, zavaboy contributed these pearls of wisdom:
if I wait
How do I set execution time for a for() loop?
Like I have a loop stop once it finds 3 things, but what happens when there
are only 2 things? It keeps looking for 30 seconds then shows this error:
Fatal error: Maximum execution time of 30 seconds exceeded in...
How can I set it to 3 seconds
* Thus wrote zavaboy ([EMAIL PROTECTED]):
How do I set execution time for a for() loop?
Like I have a loop stop once it finds 3 things, but what happens when there
are only 2 things? It keeps looking for 30 seconds then shows this error:
Fatal error: Maximum execution time of 30 seconds
7 matches
Mail list logo