![]() |
|
#1
|
|||
|
|||
Loading listbox with database tablesI am have some issues with loading my listbox with my database tables. I have a script that selects the correct database and then this page loads with just the tables that are loaded in that database.
anyhelp is appreciated. Thanks!! PHP Code:
|
|||
|
#2
|
||||
|
||||
Re: Loading listbox with database tablesAre you 100% sure that the relevant column from the 'SHOW TABLES' command for the selected database is simply named 'Table'?
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Loading listbox with database tablesI came up with this to get the database name and then pass the DB name to the table script so that I cam able to look up the tables from the selected database. However my script for my table is not working correctly and will not populate the listbox. This script however is very similar in function but the list box is not working. Thanks for the help
PHP Code:
|
|
#4
|
||||
|
||||
Re: Loading listbox with database tablesThe reason I asked "are you 100% sure..." about the column referenced by your object is because 'Table' is NOT the column label returned with the SHOW TABLES query, see this:
Code:
PHP Code:
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
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 |
| Restore Database | ajitham | .NET Forum | 2 | 16-Feb-2006 06:09 |
| Question about loading php into tables or css | pcxgamer | Web Design Forum | 6 | 17-Sep-2005 22:08 |
| Add/Remove Database tables dynamically from workspace | abhi | MS Visual C++ / MFC Forum | 0 | 22-Jun-2005 07:10 |
| Limit combo box and date time picker choice according to database created in folder | shinyhui | C++ Forum | 0 | 22-Feb-2005 21:16 |
| Limit combo box and date time picker choice according to database created in folder | shinyhui | MS Visual C++ / MFC Forum | 0 | 22-Feb-2005 03:13 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The