Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Insert and Delete Query (http://www.go4expert.com/forums/insert-delete-query-t26584/)

tinyprogram 29Aug2011 18:33

Insert and Delete Query
 
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 1Oct2011 14:47

Re: Insert and Delete Query
 
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";


All times are GMT +5.5. The time now is 23:57.