You mean you're trying to insert, update, and delete mysql data all on one php page? If so, that's not too tough, just make different submit buttons with different names, then before you print anything out, check if one of them was pushed by calling
if(isset($button1))
{}
elseif(isset($button2))
{}
and so on...