How to access the database field using PHP and display it in webpage?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guna Raj

    #1

    How to access the database field using PHP and display it in webpage?

    How can we access the database field using PHP and display it in web page. Suppose there is a text box where the user can enter thier ID. All the corresponding field related to that ID should be displayed in webpage in a table form.
  • Shenno
    New Member
    • Sep 2010
    • 59

    #2
    1- establish connection
    2- select query
    3- execute that query and return result in array
    4 in textbox value attribute type the following
    <?php $resut['DbFieldName']; ?>

    that it xD

    Comment

    Working...