php code to accept and delete incoming data


Posted on 16th Feb 2014 07:03 pm by admin

Using following HTML Code please show me how to write PHP code to accept and delete the incoming data entered through the form below. from the following MySQL database and table.
Database = hrms
Table = Student
Fields = StdNo(Number), Name(String), Address(String), Contact No(String)


Student No<Input type='text' name='txtStdNo' />

Name<Input type='text' name='txtName' />

Address<Input type='text' name='txtAdd' />

Contact No<Input type='text' name='txtTel' />

<input type='submit' name='cmdDelete' value='Delete' />
<input type='submit' name='cmdRetrieve' value='Retrieve' /
<input type='submit' name='cmdUpdate' value='Update' />
<input type='submit' name='cmdClose' value='Close' />

No comments posted yet

Your Answer:

Login to answer
198 Like 53 Dislike
Previous forums Next forums
Other forums

Change image filetype on upload?
Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image t

TemplatePower & AJAX
Hi all,



I'm currently implementing some AJAX features in my PHP-framework (which is b

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

PHP SUBMIT
Code: <input name="doLogin" type="image" src="images/loginsubmit.jpg

Uploading files/images via forms
Hey all, I am building a database for work that will contain some minor data on plant species along

FlashVar function how to insert variables
Hi guys. Im new in this forum and also new in php programming. Can you help me about this code?
<

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

How to know if online site made with PHP
Hello,
I see some sites that does not display extensions at all , for example:

www.site.co

Display Database
I need to create a shopping cart. I found this code online: http://conceptlogic.com/jcart/
Unfort

php not working written for consumption of slots
1. Here is the function where i will be allowed to consume the slot booked by me.

2. Here i c

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash