Need Urgent Help: Updating Data from Client

Discussion in 'PHP' started by admins, Jan 1, 2008.

  1. #1
    Hello,

    There are some data that shows in a table. Also, there are two extra field that should be written by client. Here are a sample page:

    http://smpletest.googlepages.com

    If anybody can help to solve how to update last two column by inserting data from client side.
     
    admins, Jan 1, 2008 IP
  2. admins

    admins Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Help needs urgently. Here sample page stated clearly.
    http://smpletest.googlepages.com/home
    Help with code, or free downloadable book applicable for this problem.
     
    admins, Jan 1, 2008 IP
  3. commandos

    commandos Notable Member

    Messages:
    3,648
    Likes Received:
    329
    Best Answers:
    0
    Trophy Points:
    280
    #3
    just search on google how to update mysql using php , its a simple query

    start with some coding and we will help .
     
    commandos, Jan 1, 2008 IP
  4. admins

    admins Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Actually, php page has been created. And first table is the output. Now the need:
    Two text box should be taken in the place of last two columns data. And then that two text box should be fill up by user and when he will press update last two column data will be inserted.
     
    admins, Jan 1, 2008 IP
  5. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #5
    thats very basic coding of php

    try w3schools site

    Regards

    Alex
     
    kmap, Jan 2, 2008 IP
  6. admins

    admins Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for comments. Actually, in a particular cases, I was asked to show code like that instantly, and I wanted a proper example to show. Ok, it is solved and thanks for your comments. But a little problem, in this machine, few php coding aren't working, i.e., <? ?> is not working, I have to write <?php ?> and few others like, \n for new line and few more problems.
     
    admins, Jan 2, 2008 IP
  7. Dagon

    Dagon Active Member

    Messages:
    122
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #7
    the short_tags setting in php.ini
     
    Dagon, Jan 2, 2008 IP
  8. admins

    admins Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yah! It is ok, Thanks for quick reply.
     
    admins, Jan 2, 2008 IP