08.08.2011, 21:18
I know that in some MySQL scripts, the authors have made them so tables/fields are created automatically if they don't exist to begin with. I was thinking, rather than having the SQL code in the script, save it in a file. I am trying to use the basic file-functions to load the file, copy the information into a string, and execute the string's contents via MySQL. I am getting errors however.
Is this possible to do?
Is this possible to do?