You want to print the result set of your query? In that case, you have to loop through the result set and print the records. The manual has some examples:
mysql_query()