I have a website which made.
I need to know how i can create a installer for this site. Meaning when user upload the site on to they host first time they get option to inset they database details.
User insert they database details which then they change in config.php file.
also i have tables.sql which i like to run query
I try using
$text = file_get_contents();
but my querys fails as i do have around 32 tables i need to inset into database and all the necessary setting.