![]() |
|
#1
|
|||
|
|||
MySQL- how to list all fields of a table (or columns)Can you connect to your site and then query to find all databases availabel?
All tables in a database? All fields in a table? I have a tendency to forget things... it would be nice to be able to print out the whole tree if needed... Thanks |
|||
|
#2
|
||||
|
||||
Re: MySQL- how to list all fields of a table (or columns)Quote:
Quote:
Quote:
Quote:
It's sort of an 'all-in-one' tool for database needs, designed as a web interface for remote DB administration. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: MySQL- how to list all fields of a table (or columns)phpMyAdmin ... Yes, my hosting service provides that and it works nicely but I feel like it is cheating so am trying not to use it unless I'm at a loss!
I guess I should have said php/mysql rather than straight mysql. But from your hints I am getting the idea of how the striaght mysql commands are implemented into the php functions. After some fooling around I'm started to get somewhere: PHP Code:
Thanks! Howard++; ps: how come when I use the php code tags the code doesn't wrap at the newlines in the code box? I am using vi in FC6. utf8 problem? |
|
#4
|
||||
|
||||
Re: MySQL- how to list all fields of a table (or columns)Quote:
Quote:
(look back at the cookie/time post -- the code block appears as expected now) __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#5
|
||||
|
||||
Re: MySQL- how to list all fields of a table (or columns)I'm sorry but yes this only happens when you paste PHP code examples in your replies through the "Quick Reply" box (but works fine if you click on the "Go Advanced" button before submitting the post). I don't know how to fix this yet.
|
|
#6
|
|||
|
|||
Re: MySQL- how to list all fields of a table (or columns)Quote:
I'm at a pretty good stopping point on that listing tool. Now I can refresh my memory on my database layout in a flash! Here is a bit of the ouput: Code:
PHP Code:
...and yes it looks like the php codebox is working OK after going to 'Advanced' first... Howard++; |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coding Help | sneakerhead724 | Java Forum | 4 | 09-Apr-2008 08:20 |
| Str_Misaligned in Double Link List | Peter_APIIT | C Programming Language | 1 | 29-Feb-2008 21:50 |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 08:44 |
| C++ class -- Please help | vnca_1 | C++ Forum | 3 | 14-Jun-2006 13:31 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The