Welcome Guest, Not a member yet? Register   Sign In
How to use Forge Class to create a database schema?
#7

(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.

How? I try to load only the driver, but I found nothing in the guide or Google.

Can you send dome code?

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.
Reply


Messages In This Thread
RE: How to use Forge Class to create a database schema? - by enlivenapp - 01-20-2017, 08:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB