This will start a new column “$token_db” with values “$token” in table “token” but the id still incriments every time so there are hundreds of NULL rows in each. Need to “reset” or restart id for each new row so there isn’t hundreds of null rows in each column. Can you assist me I can’t find anything in the manual for this although I’m sure its there.
mysql_query(“ALTER TABLE token ADD “.$token_db.” CHAR(20)”);
mysql_query(“INSERT INTO token (”.$token_db.“) VALUES (‘$token’)”);
mysql_close();