By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

make a field of database into a link

P: 1
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:

Expand|Select|Wrap|Line Numbers
  1. //this is the example view of my output all table from my db
  2. +---------------------+
  3. |administrator        |
  4. +---------------------+
  5. |programs & activities|
  6. +---------------------+
  7.  
  8. //if i click 'administrator', it will show this table
  9. +---------------------+
  10. |title                |
  11. +---------------------+
  12. |file no              |
  13. +---------------------+
  14. |box no               |
  15. +---------------------+
thank you
May 8 '12 #1
Share this Question
Share on Google+
1 Reply


harshmaul
Expert 100+
P: 490
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.
May 14 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.