so this is what I have so far.
$query = mysql_query("SELECT * FROM tablename ORDER BY id");
while($r = mysql_fetch_array($query)){
extract($r);
echo $variables;
}
The error I get cause of above reason
Notice: Undefined variable: variables in
I've got honestly no idea how to do it ._ .