There are a few functions you'll need (look them up in the manual), as follows:
mysql_fetch_row or mysql_fetch_array
Optional:
mysql_num_rows
print_r
Basically you run mysql_num_rows to see if you got any data back from the query (if a select query returns true that only means there wasn't an error. it does not mean it returned any rows).
If you did, use a loop of mysql_fetch_row (I prefer a foreach loop, usually) to get the data.
For debug purposes, you can use print_r on the resulting array from mysql_fetch_row to see exactly what data was returned.
Hope that answers all your questions.