Is it possible that a php script gets terminated between two mysql queries.

For example user registration:

1st INSERT : I will enter the basic first-name,last-name,address in one table

and

2nd INSERT : i will enter the user's hashed password and salt in another table

This operation probably requires two queries and either of them independently are useless records.

What if the php script terminates after executing the first query?
User will just get a server error message but one useless record will be generated.

Any Solutions??

EDIT ------
My Web host does not provide a InnoDB engine.
Only MyISAM supported