| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | php and phpmyadmin and a database full of tables hey people anyone use phpmyadmin? u see on the left frame once you selected a database it shows links to the tables how would i selelect them i looked at the phpmyadmin code and its all confusing cheers |
| |
| | #2 (permalink) |
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() | You can click on the table you want to work with, then up at the top you should see some links like: [ Browse ] [ Select ] [ Insert ] [ Empty ] [ Drop ] You can then select the field you want to work with and click one of them links and go from there to insert data, select data, etc.. Optionally you can run queries directly by typing them in the text area where it says: ????: NamePros.com http://www.namepros.com/programming/15198-php-and-phpmyadmin-database-full-tables.html Run SQL query/queries on database DbName : For example, if you have a table named friends and type the following in the text area: select * from friends; It will select everything from that table and present it in a nicely formatted table for you. |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | ahhhhhh sorry you have mis understood me i want to create my own version (or at leaslest select the tables and then add them to a drop down box) i know how to use phpmy admin i just dont know how to select the names of the tables from a database in php |
| |
| | THREAD STARTER #4 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | ive sussed it now cheers PHP Code: |
| |
| | #5 (permalink) | ||||||||
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() |
![]()
I believe I have told you this before and I'm not saying you do this intentionally or anything, but I think you should be aware of it because you do it often and I think it will help you and others that may be trying to help. ![]() ????: NamePros.com http://www.namepros.com/showthread.php?t=15198 By the way, here's my version: PHP Code: | ||||||||
| |