Hi
I am trying to create a table using mesql_query to create table and name it with a number generated by a PHP random variable.
$status = mysql_select_db($database);
$var= $_COOKIE['randid'];mysql_query(" CREATE TABLE {$var}
VALUES (
userid_id
bigint(255))");
I thought there must be a problem with the type of value stored in the cookie as its an INT but it wasnt the right solution i have changed it to a string but im not yet able to create the table.
the generated number is a customer ID
Please help,