I want to create a table in mySQL with the name of \"123 Product\", with numbers in the beginning and a space in between. I can do this using phpmyAdmin but I want to make t
You can simply try this: enclose table name with backticks (`)
$sql = " CREATE TABLE `123 Product` ( `product_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `product_name` VARCHAR(255) NOT NULL ) ENGINE = InnoDB; ";