Insert and Delete Query

tinyprogram's Avatar, Join Date: Jan 2011
Go4Expert Member
I want to make a webpage in PHP having two buttons and a textbox...first button to insert data into database using textbox and second button to delete data from database from textbox entry.

Please tell me the coding of it..

Thanks in advance
etsuser's Avatar
Banned
We’re going to insert about 10 variables — one for each field on the Edit User page. This will make the
insert statement much wider than a screen or a piece of paper. So I recommend using white space to help
you debug it:
insert into tableUsers
(
dbUsername,
dbPassword,
dbFirstName,
dbLastName
)
values
(
'rconescu',
'whatever',
'Ron',
'Conescu'
)
The Delete query in MS Access SQL command used to remove one or more rows of data from a relational database table.

Syntax: Delete * From M_Employees Where Emp_Name = "Joe";