Oh, I see what you are trying to do now. You needed to get multiple rows, then yes, you definitely want to remove the WHERE statement from your query.
Just a tip, if you want to do assign ALL variables by using ONE while loop AND be able to use these variables later, you could just assign one cell as the variable.
For instance:
If your db is setup like this
Room Name | Rake_Percent | Bonus_Amount
fulltilt | 30% | $600
absolute | 27% | $150
PHP Code:
$query = db_query("SELECT * FROM site_info_s");
while($row = mysql_fetch_array($query)) {
$$name = $row[0];
$name.'_rake' = $row[1];
$name.'_bonus' = $row[2];
}
Then you could just call the variables $fulltilt_rake, $absolute_rake, $fulltilt_bonus, $absolute_bonus whenever you wanted to within the page.
I know you had it figured out, just offering another way to do it that may be a little more user friendly than nested arrays.
Bookmarks