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

PHP Cannot redeclare class
I have 6 files, and two of them do not seem to want to play well. I keep getting a "Cannot rede

Getting Resource id #11 while trying to connect..
So i tried using "DEFINE" for the first time and im using the variables i defined to conne

Must-Know Topics of PHP
Can you guys list the must-know topics of PHP. I am still a learner and I am trying to cover most of

Problem with a select distinct
I have a problema with a select distinct, I have the next sql:

select distinct a,b,c,d fr

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

Form submissing with PHP and JQuery/Ajax
I have searched everywhere, but cannot find a solution for this... I have worked all day trying to g

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

How to update this array?
I am saving a string that looks this: username1, username2, username3...
into a single cell in a

Help pulling in 'id' with "read more" link
I'm trying to create snippets of my articles in the cms I'm creating, and then have them redirect to

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