I\'m pretty new to php.. and this is probably a stupid mistake... but I have no idea what is going on. I\'m trying to create a table in my database using php. I want to name
// Create MySql table with variable
$tableName = "tb-"."$userEmail"; $tName="Beta"; $createTable = "CREATE TABLE ".$tName." ( UserName varchar(30), UserPassword varchar(30) )" ;
This above syntax works. Apply this example to your code. Please review some error in your concatenation