Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- using array in php
July 11, 2005, 2:12 pm
rate this thread
start who register so far
anyway to make some reports about the users (example best users with
higest points ... worrest users with low points and so on) one of
co-workers with me suggest to use array insted of store the data in the
database everytime user do an action .
the idea is when a user was to see any reports the users ID will store
in an array and will calculate the points and store them in this array
(users id is the key for this array) .. then sort this array the way we
want and list it
i like the idea but i think about the loading what if there is million
user for example should it be problem ??
im new in php that why i ask this
thanks in advance
Re: using array in php
On Mon, 11 Jul 2005 07:12:06 -0700, I_love_php wrote:
Well, if not an array, what else are you going to use? If there are a
million users then there might be a problem no matter what you use.
Your question is a bit too nebulous to answer, frankly. Do you have more
JDS | firstname.lastname@example.org
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
- » Online Texbooks Publishing Software, written in PHP?
- — Previous thread in » PHP Scripting Forum