<html><head> </head> <?php include 'index.php'; ?> <body> <form method="post" action=""> <input type="hidden" name="posted" value="true"> ID <input type="id" name="id" placeholder="Enter the ID of customer"><br/> Name: <input type="text" name="name" placeholder="Enter the Name of customer"><br/> Address: <input type="text" name="address" placeholder="recent address"></br> <input type="submit" value="Submit"> <input type="reset" value="RESET"> </body> </html> <?php if (isset($_POST['posted'])) { include 'function.php'; $add = new telephone(); $add->update_the_customer(); }