I am running this mysql query:
$result = mysql_query("SELECT * FROM userdetails WHERE userid= '$userid'");
$row = mysql_fetch_array($result);
The result is a row of 100 variables with different names such as $row['name'], and $row['email'], etc...
How can I convert all of these to just $name and $email, etc... in php?
It would save so much time to write this program....