Sir, I am working on PHP and PostgreSQL. I want to insert output of my Query in textfile. so how to open file and insert data one by one in textfile. please help me. Ramesh Patel ramesh@banas.guj.nic.in -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php