1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Insert and Delete Query

Discussion in 'PHP' started by tinyprogram, Aug 29, 2011.

  1. tinyprogram

    tinyprogram New 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 :)
     
  2. etsuser

    etsuser 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";
     

Share This Page