Somebody please help me. I've trying to develop a database. I want a new table with it's own fields for every new project that surfaces over time. I've gotten PHP to connect to my MySQL database which is using a Linux O/S (Red Hat 7.1). I can perform queries with no problem. My issue is:
I can find no source code that invokes:
$sql = "CREATE TABLE '$table_name'('a_unique_field_name'FIELDTYPE(length))";
I don't get a syntax error at execution but I do manually check the MySQL database on the Linux platform I have, and the table never gets created. How do I invoke $sql in the above statement to actually create the table. I want to start first with just manually having PHP create a table.....and once I figure how to code the statement, replace the table name with a variable ('$project') for every new project that comes into being.
If you guys could help me out, I'd be forever appreciated. I'm running around in circles, and the boss wants to know what the deal is. I'm so frustrated because of time restraints.
Sincerely,
Jason.Noe@SCI.com