Generating variables from db content?
<p>I am querying a database to get 6 values in my params table suing this;</p>

<pre><code>$result = mysql_query("SELECT * FROM params");
    while($row = mysql_fetch_array($result))
  {

    $param = $row['value'] ;

 } 
</code></pre>

<p>is this right, if so is their away i can add one to the variable name each time round so i get $param1, $param2....</p>

<p>I dont want to have to send a query to the database for each param, is it possible to get them all like this?</p>
