title: how can i export some values in mysql to an php array?
body: <p>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.</p>
  
  <p>from what i know <code>for</code> has three statements something like so <code>for($i=0;$i++;$i=$max)</code></p>
  
  <p>how can i put the user id's in to an array so i can define my $max variable?</p>
  
  <p>or can this be done in an other method?</p>
  
  <p>thanks,</p>