php data mysql_fetch_assoc mysql_query SELECT FROM table echo data id

1
2
3
4
5
<?php
$data = mysql_fetch_assoc(mysql_query("SELECT * FROM `table`"));
echo $data['id']; // Например