By: Romulo
Date: 2005-11-11
Time: 19:44
|
Show tables and show fieldsI use mysql database and i need to show the tables, the fields and the types of the fields. How do i do it?
|
By: Maz
Date: 2005-11-11
Time: 20:20
|
Re: Show tables and show fieldshttp://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/doc/en/SHOW_DATABASE_INFO.html
That link should help. You would then need to pass the results to an array before then merging the array into your template. |
By: Tom
Date: 2005-11-12
Time: 15:59
|
Re: Show tables and show fieldsA good example of the actual php code you would need -- look at the phpMyAdmin application.
Install it and use it to do MySQL stuff the easy way -- and then learn from their code tp produce the pages you want in TBS. http://www.phpmyadmin.net/home_page/index.php HTH |