I am currently using this code to gather information for my database duh
$result = mysql_query("SELECT * FROM user ORDER BY name DESC");
if ($myrow = mysql_fetch_array($result)) {
do {
printf("<td>%s</td>\n", $myrow["nameofitem"]);
} while ($myrow = mysql_fetch_array($result));
} else {
echo "<center>Sorry, no users are avaliable!</center>";
}
Now my question is how would I go about getting the information it calls into sperate variables? like
$myrow[1]
$myrow[2]
how would I get this to work??