<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<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" /> 

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

TAble Student
Fields - as above

Recommended Answers

All 3 Replies

Member Avatar

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


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

Member Avatar

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 ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.