![]() |
Trouble with While()
I have a script with the following code because I couldn't get a while loop to work...
Code:
$timespan = 'thread.dateline<UNIX_TIMESTAMP(CURDATE()) AND thread.dateline>UNIX_TIMESTAMP(CURDATE()-1)'; Code:
$counter = "0"; |
A for loop is preferable when you know how many iterations you need.
PHP Code:
|
Thanks. I'll try it out later this week (Getting late now, don't want to start coding tonight and go back to work tomorrow).
|
This should be correct:
PHP Code:
|
All times are GMT. The time now is 08:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|