<form method=post action=<?=$_SERVER[PHP_SELF]?>>
module id<input type=text name=module_id> <br>
details<input type=text name=module_details> <input type=submit name=submit>
</form>
<?
if($_POST)
{
$result = mysql_query("insert into table (module_id,module_details) values('$module_id','$module_details')");
}
?>
that is how you would insert .. editing and deleting would be similar, except the sql query.
update table set module_details='$module_details' where module_id='$module_id'
delete from table where module_id='$module_id'