I'm currently trying to insert data into a database from a text boxes, $enter / $enter2 being where the text is being written. 

The database consists of three columns ID, name and nametwo

ID is auto incrementing and works fine

Both statements work fine on their own, but because they are being issued separately the first leaves nametwo blank and the second leaves name blank. 

I've tried combining both but haven't had much luck, hope someone can help. 

```
$dbh->do("INSERT INTO $table(name) VALUES ('".$enter."')");
$dbh->do("INSERT INTO $table(nametwo) VALUES ('".$enter2."')");

```