|
Comments for: alex20010129
| Message # 1009181: |
|
Date: 01/18/02 22:57
By: Matthew Black Profile Subject: RE: Automatic Database Creation It is possible, what you would have to do is simply create a query based on the input from the user. like $query = "CREATE TABLE $table blah blah"; ofcourse I didnt go through the whole statement of the query but that gives you the idea :) Now lets say you want a user to look at Models and go from there, and assuming models are the dynamic tables in the database. Now here is a link to a mysql function that'll help you with the rest of the process. http://www.php.net/manual/en/function.mysql-list-tables.php following that, and the above should allow you to get the results you want. Lastly, as far as I know, you cant create the database and enter in values unless they are like default values. You would have to send two queries, one to create the table then enter in the information. |
Previous Message | Next Message |
| Comments: | ||
| Text files conversion | karuna | 07/29/05 06:24 |
| connection à BD oracle8i | ahmed | 12/17/04 10:06 |
| Licensing (RE: Duplicate project) | James | 01/02/04 15:30 |
| Nice idea, wouldn't use it commercially tho.. | Icerunner | 09/18/02 16:49 |
| "make depend" problem | Ozgur | 07/17/02 06:20 |
| about php | nafiseh shabib | 04/02/02 04:39 |
| Binary to text convertion | abhay | 03/26/02 09:27 |
| RE: Automatic Database Creation | Matthew Black | 01/18/02 22:57 |
| RE: phpShop ripoff? | Alex Black | 03/31/01 18:07 |
| Error at the beginnig.. | Tony | 03/20/01 07:25 |
| RE: database | Alex Black | 03/09/01 03:33 |
| Automatic Database Creation | carlos urbieta | 03/07/01 21:35 |
| database | carlos urbieta | 03/07/01 21:25 |
| RE: Instalation problem | Marcel | 03/01/01 09:09 |
| install problem | pavlos | 02/27/01 22:39 |
| RE: Support for IIS | John | 02/26/01 15:36 |
| phpShop ripoff? | Brian Quentin | 02/23/01 08:37 |
| RE: Support for IIS | R.Talis | 02/20/01 11:11 |
| install.php stuck | Chuck | 02/20/01 05:55 |
| Licensing (RE: Duplicate project) | Alex Black | 02/17/01 18:57 |
| Licensing (RE: Duplicate project) | Cameron S Watters | 02/15/01 12:17 |
| RE: ugh.. still why? | Alex Black | 02/14/01 14:35 |
| RE: Why BinaryCloud versus PHPLib? | Alex Black | 02/14/01 14:34 |
| RE: Worked, but didn't work... | Angel Hernandez | 02/13/01 16:55 |
| RE: Support for IIS | David Stubbs | 02/12/01 14:51 |
| ugh.. still why? | soellman | 02/08/01 20:37 |
| Why BinaryCloud versus PHPLib? | David Phillips | 02/08/01 09:08 |
| Grumpin' before testin' | Jared Smith | 02/08/01 07:03 |
| RE: Too soon | Alex Black | 02/05/01 16:48 |
| RE: Workaround for auto_prepend | Alex Black | 02/05/01 16:44 |
| RE: Coder vs. marketing | Alex Black | 02/05/01 16:39 |
| Coder vs. marketing | Jan Lehnardt | 02/03/01 04:06 |
| RE: Worked, but didn't work... | Alex Black | 02/02/01 21:09 |
| RE: Too soon | Stephen VanDyke | 02/02/01 16:10 |
| Workaround for auto_prepend | led_belly | 02/02/01 14:11 |
| RE: Sounds Great... uhhh | Rick | 02/02/01 13:27 |
| Worked, but didn't work... | Angel Hernandez | 02/02/01 01:25 |
| RE: Sounds Great... uhhh | Alex Black | 02/01/01 13:44 |
| RE: Show me it works, Please. | Alex Black | 02/01/01 13:40 |
| RE: separating markup and code | Alex Black | 02/01/01 13:38 |
| RE: Too soon | Alex Black | 02/01/01 13:36 |
| RE: separating markup and code | David Fischer | 02/01/01 11:58 |
| separating markup and code | brian | 01/31/01 15:46 |
| RE: Sounds Great... uhhh | Derek Piper | 01/31/01 14:09 |
| Show me it works, Please. | Ocedeco | 01/31/01 12:52 |
| Too soon | Brian Quentin | 01/31/01 11:01 |
| RE: Instalation problem | Alex Black | 01/30/01 20:13 |
| RE: FreeBSD+php+Oracle | Alex Black | 01/30/01 20:11 |
| RE: Sounds Great... uhhh | Alex Black | 01/30/01 20:08 |
| RE: Duplicate project | Alex Black | 01/30/01 20:07 |
| RE: Support for IIS | Alex Black | 01/30/01 20:04 |
| RE: Instalation problem | Alex Black | 01/30/01 20:03 |
| RE: Any samples? Showing too early? | Alex Black | 01/30/01 20:02 |
| RE: Instalation problem | Sam Barnum | 01/30/01 16:58 |
| FreeBSD+php+Oracle | Steffen | 01/30/01 16:20 |
| RE: Duplicate project | madbilly | 01/30/01 14:43 |
| RE: Instalation problem | Ignacio Galmarino | 01/30/01 11:35 |
| Sounds Great... uhhh | Ocedeco | 01/30/01 09:24 |
| Duplicate project | Seek3r | 01/29/01 19:01 |
| Support for IIS | Ciaran | 01/29/01 16:18 |
| Instalation problem | Ignacio Galmarino | 01/29/01 15:14 |
| Any samples? Showing too early? | Brian Quentin | 01/29/01 13:32 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


