From our previous article we went through the way of entering data to the database using php functions. If your are not familiar with it visit PHP CRUD Application Using Functions-Insert to get to know about it. Now lets create the User View in the same file. I have made some changes to the insert form to make it look nice. Code for the new form is given below <div class="row"> <hr> </div> <div class="col-md-2"></div> <div class="col-md-8"> <div class="panel panel-default"> <div class="panel-body"> <h2>Add New User</h2> <form action="" method="POST"> <div class="form-group"> <label for="exampleInputEmail1">Name</label> <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Name" name="name"> <...
Comments
Post a Comment