Ok, I've been playing with this for a while, but the solution has evaded me:(
Basically, I have a 'count' figure. Now, with this figure, I want to work out how many steps I would need to run.
For example;
15023 entries
Each step runs 1000 entries at a time...
I then need to work out how many steps of 1000 at a time I would need to run. i.e
15,023 / 1000 = 15.023. I then need to round this UP to 16, so that all the stages are completed.
Anyone got any ideas?
TIA
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Basically, I have a 'count' figure. Now, with this figure, I want to work out how many steps I would need to run.
For example;
15023 entries
Each step runs 1000 entries at a time...
I then need to work out how many steps of 1000 at a time I would need to run. i.e
15,023 / 1000 = 15.023. I then need to round this UP to 16, so that all the stages are completed.
Anyone got any ideas?
TIA
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

