Hiya,
Your about to learn a php/mysql idiom.
Something you will do alot and later encapsulate to make life easier.
//begin code
$query="select * from $table_name where userid='me'";
//exectute query
$result=mysql_query($query);
//fecth row from table
while ($row=mysql_fetch_array($result))
{
//print out current row values
echo $row['mon']; //mon is column name
echo $row['tue'];
}
//end code
mysql_fetch_array($result) when combined with the while loop will fetch a row in the table. The next row will be returned for each iteration in the loop.
It is contains both associative and numerical keys. eg. $row[1] and $row['column_name']
For just associative keys use mysql_fecth_assoc($result)