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)
Did you know?Explore Trending and Topic pages for more stories like this.


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

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

Log $_POST
How would i log submits on a form, by everyone? I want to then echo the number of submissions.

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

article site help remaining text
Hi all hope you will be fine
I am creating a article site in this site i want to put some text on

Reading waves
Hi,

I am trying to find a way of finding the highs and lows on a graph line, the line points

Writing Windows Device Drivers with C
Yes: one of the nice features of C is void*. You can put anything there and get anything out. Very

matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be somethi

pageination not working right... coping images over 4 pages
Code: <?php //This code will obtain the required page number from the $_GET array. Note that

form class help (oop php5)
Hidy Ho Neighbors,

I'm forcing myself to learn oop/classes for php5. It seems like a good id

PEAR in appliactiond development
When I was picking up PHP I went from procedural programming, fairly quickly into OOP, then after wr

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