How to use Forge Class to create a database schema? |
(01-20-2017, 03:27 AM)Rodrigo Valentim Wrote:(01-19-2017, 09:50 AM)InsiteFX Wrote: You can use the native MySQLi calls to create anything that you need for the database. Good advice from @InsiteFX If you need to use user inputs for db connection, (or need the info over more than one method/call) you can look over how I do it in Open Blog. https://github.com/enlivenapp/Open-Blog-...taller.php Saving the connection info to $this->session... then using that info to populate the database connection info. You can also get an idea on how to use a .sql file to populate the db info all at once. |
Welcome Guest, Not a member yet? Register Sign In |