Results 1 to 3 of 3
  1. #1

    php code to create a SQL database

    Ok i need a form which will create a SQL database. i know how to get the form the work - just submit the values to a php script. What i need somone to tell me is how to write a php script that will take the vales submited by the form and create a SQL database depending on the values.



    Database name:

    so then the form will submit the database name value to the php script and the php script will make a database according to the database name value.

    Anyone know how to write the php script?

  2. #2
    Join Date
    Nov 2004

    PHP Code:


    Rails in DA - Ruby on Rails plugin for Directdmin | DA-Tomcat - Tomcat Manager plugin for Directdmin
    DA-PgSQL - PostgreSQL plugin for Directdmin | IP Deny Manager - IP Deny Manager plugin for Directdmin
    DeeperAdmin - Manager your DirectAdmin server "deeper"
    Order now at

  3. #3
    ok so that code will allow the form to create the sql database accoring to the database name enterd into the form?

Posting Permissions

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