I'm trying to add on to my news feature by creating a feedback form. I think in order to do this, I would need to come up with some code that would create a new table each time I submit news.
I checked w3schools, found some code and changed it around:
$con = mysql_connect("blah blah blah");
die('Could not connect: ' . mysql_error());
// Create table
$sql = "CREATE TABLE comment1
id int NOT NULL AUTO_INCREMENT,
// Execute query
(I'm not sure if the message and date ones are right so let me know if they need to be fixed).
Anyway, would it be possible to automatically create a new database without having to go in and rename "comment1" to "comment2" myself, but have it do that automatically?