Yes that worked fine, now i need this,
here is my out put from the php script it is an example i quickly made up for the sake of help
echo "INSERT INTO database (username, password) VALUES ('"; echo $_POST['user']; echo "', '"; echo md5($_POST['pass']); echo "')";
when user field is typed it ends up at user, and pass md5hash etc
this then creates an output that will display something like
INSERT INTO database (username, password) VALUES ('sheephat', '19ae708df0e65fb9d3c9540ac2ab653f')
What I want is this info to enter directly to the txt file as shown. So when the txt file is opened INSERT INTO database (username, password) VALUES ('sheephat', '19ae708df0e65fb9d3c9540ac2ab653f') is shown.
Thanks for your help so far.