make a field of database into a link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • master g
    New Member
    • May 2012
    • 1

    make a field of database into a link

    hello.
    i'm new in programming.
    i want to ask.

    i want to display all my tables from my db. when click one of the tables, it will show all value of that table.

    now i can only display list of table and list value in each my table. i don't know how to link them.


    example:

    Code:
    //this is the example view of my output all table from my db
    +---------------------+
    |administrator        |
    +---------------------+
    |programs & activities|
    +---------------------+
    
    //if i click 'administrator', it will show this table
    +---------------------+
    |title                |
    +---------------------+
    |file no              |
    +---------------------+
    |box no               |
    +---------------------+
    thank you
    Last edited by Dormilich; May 8 '12, 06:26 AM.
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    Hi,
    have you seen this article

    Printing a MySQL table to a dynamic HTML table with PHP

    It maybe enough to get you started. If you have any questions let me know.

    Comment

    Working...