It might help to explain WHY I am trying to do this.
I want the form contents to have the capability of being imported into MS Access.
Would having the form's field inputs placed into a table be another way of doing this?
If so, how?
Sorry, I know very little about PHP -- mostly just html and javascript

I am afraid I am still confused. Would I keep my initial php code and just add the snipped you included?
Where?
I found a php script, but it is way overkill for what I want to do, and only serves to confuse me.
I do not even think it is parsing the data corerectly because everything winds up in one cell in Access and excel.
Also, if someone puts in a comma in the form itself (ie "mileage=100,000), it stops all further data from being read.
I think I need a tab-delimited way of doing this.
Here is the script I am using: