Thanks for all the information & assistance.
I did not see that the last part of my post was cut off. Sorry about that.
On the PHP end, I usually have my text file setup like this:
$data = "$username | $realname | $phone | $email\r\n";
//open the file and choose the mode This adds data to the text file newusers.txt
$fh = fopen("mydata/newusers.txt", "a");
//close the file
What I'm trying to understand is how do I change the PHP end to accomodate the AJAX posting.
The PHP is supposed to return a string to a hidden form field on the form that did the submission.
I really want to return the string as $phone & Time
It should look like 7185551212-11:45 when its in the hidden form field. The form name is UserForm.php
Appreciate all your help.