how to open email app and display text in label with single click : i have a table with accept link in the first column when the it is clicked then have another column with a label with pending. therefore when thee accept is clicked the **pending** is updated to **accepted**  
this line was my original code, when the accept is pressed it is displayed. 

    <a href="tea_appview.php?app_id=<?php echo $row['app_id'] . "&" . "state=accept";?>" class="accept">accept</a> 

--------------------------------------
then i added this line so that i can also send a mail. what happens here is when the accept llink is clicked the default  mail app opens but the label does not get updated from pending to accepted

     <a href='mailto:".$email."?Subject=PARENT%20INQUERY' "tea_appview.php?app_id=<?php echo $row['app_id'] . "&" . "state=accept";?>" class="accept">accept</a>

 