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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!