I have a script which the user enters information into a form and it returns a enquiry number using mysql_insert_id Is it possible when the form is filled in to pull a unique order number from a text file. TIA george -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]