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

email CODING Problem
Email coding problem.

I need to send a section of the info to $tf and the same as a Cc to $em

Need help PLEASE
ok i have this warning showing up

Warning: in_array() [function.in-array]: Wrong datatype for

How to show next and prev records
Hi all,

Sorry if this is simple, i'm very new to php, well, any programming language actually

is_dir() problem
Hello,

I'm buidling a php scripts that dynamically get's subfolders from a specific folder.

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

how do i display data on a page from mysql
1 - do i use this code at the top of each of my page i wish to only alow access if there as been a s

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

why this query can delete duplicates ?
why this query can delete duplicates ? Anybody can give me the detailed explanation ?

Tha

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

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