To install a cms i have a form in which i ask user to enter a database name he wants the script to make tables into. After that i have my only three cms tables.
i am trying to read that dump.sql file using the file = get_file_contents(dump.sql) and then mysql_query($file);
but nothing is happening please suggest or help.