W/in the table Delete/Update script!

Discussion in 'PHP' started by Imless, May 17, 2012.

  1. #1
    Hello guys I find it hard to have an delete/update action of datas within the table. Any ideas there?

    Even simple will do, I just need an idea.:confused:


    Sample code. :D guys. Thanks!
     
    Imless, May 17, 2012 IP
  2. HostPlanz

    HostPlanz Well-Known Member

    Messages:
    449
    Likes Received:
    34
    Best Answers:
    4
    Trophy Points:
    130
    #2
    Are you talking about updating and deleting data in a database?
     
    HostPlanz, May 17, 2012 IP
  3. Imless

    Imless Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes sir! I gather datas from my database(MYSQL) then display those datas in table then I was confused on how to delete and update those datas. Need your idea. A sample code if possible sir. xD
     
    Imless, May 18, 2012 IP
  4. rmacd

    rmacd Greenhorn

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    Have you tried constructing some queries using MySQL itself? Once you've done that, go investigate the mysql_query() function in PHP. It's impossible to provide sample code, in any case, without an idea of table structure.
     
    rmacd, May 18, 2012 IP
  5. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #5
    Read up on some introductory SQL guides. Insert/delete is as simple as it gets.
     
    Alex Roxon, May 18, 2012 IP