Hello, I'm doing the following query with the variable
$fechaActual = date('dmy');
dasd
$mysqli->query("CREATE TABLE ".$fechaActual." (id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY)")
This gives me syntax error but if I do this:
$mysqli->query("CREATE TABLE a".$fechaActual." (id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY)")
it works ... (add one to the variable)
pd: if I can create a table with only numbers like phpmyadmin