Write a program using while loop

$my_query = mysql_query("SELECT * FROM 'users' WHERE 'id'='1'; "); 
while($result = mysql_fetch_array($my_query))
{
echo $result['First_name'];
}