Automatically adding tables/fields in MySQL database.
#1

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)