0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<form name='frm1' method="post" action="student.php">
	Student No <input type="text" name='txtStdNo' /> <BR />
    Name <input type="text" name='txtName' /> <BR />
    Address <input type="text" name='txtAdd' /> <BR />
    Contact No <input type="text" name='txtTel' /> <BR />
    <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" /> 
    </form>
</body>
</html>

pls write php code to accept and delete incoming data enetered through above form

DB - HRMS
TAble Student
Fields - as above

2
Contributors
3
Replies
5
Views
7 Years
Discussion Span
Last Post by nileshgr
0

MYSQL

What's the Database Server ? MySQL, PostgreSQL, Oracle, ??

0

There's a big error in your HTML form. Three submit buttons. Use radio buttons. The thing is, browser will submit the values for all three buttons if any one is clicked, so how do you check which operation is to be conducted ?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.