Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2006
    Location
    Bristol
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Creating multiple tables at once

    I have made my own CMS and I want to create an install.php for users so they can create the tables in MySQL. What's the easiest way of creating multiple tables in SQL using php?

    At the moment the only way I can do it is to write it out manually but there are about 30 tables. Would using .sql tables be an option? If so, how do I use them?

    thanks
    Alex
    Give me Rep if I was helpful and ignore if I wasn't ;)

    http://www.google.com <--use this before asking

    Nominate a Helpful Member


  • #2
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Dump the entire db using phpMyAdmin, and tell users to import using phpMyAdmin.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •