how can i export some values in mysql to an php array?

Posted by sebastian on Stack Overflow See other posts from Stack Overflow or by sebastian
Published on 2010-06-16T07:49:44Z Indexed on 2010/06/16 7:52 UTC
Read the original article Hit count: 207

Filed under:

hi,

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,

© Stack Overflow or respective owner

Related posts about php