Kindly post your code in phpbbcode tags.
Anyway, so far you are able to print the result for "Petrol", right? Use the $row array for the other two.
You should also read the PHP manual concerning [man]mysql_fetch_assoc/man.
Finally, if you have the choice, you may want to switch to using the MySQLi extension or PDO extension, but it is probably not important right now for learning purposes.