here is what i’m trying to make.
i want to select all the users from a table.
for all of these users i want to make a for cycle.
from what i know for has three statements something like so for($i=0;$i++;$i=$max)
how can i put the user id’s in to an array so i can define my $max variable?
or can this be done in an other method?
thanks,
You could use:
This will give you the number of users from your table that you could use in your for loop.
You could also try: