Results 1 to 3 of 3

Thread: php installer

  1. #1

    php installer

    hello

    i wanted to know the easy way i could make a install.php file to install database tables for a script?

  2. #2
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    You can create a general sql script >> read from it using php and pipe it to the mysql database using the script
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

  3. #3
    Join Date
    Feb 2006
    Location
    Buffalo NY
    Posts
    1,348
    Quote Originally Posted by webster13045 View Post
    hello

    i wanted to know the easy way i could make a install.php file to install database tables for a script?
    Theres numerous ways to do this (from easy to elaborate) - for your purposes something that just had all the SQL queries in one file (install.sql lets say) and your PHP script loads it up with file().. then just foreach() through it passing it to SQL each iteration of the loop.
    Cody R.
    Hawk Host Inc. Proudly Serving websites since 2004.
    Let's Encrypt Sponsor.

Posting Permissions

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