www.php.net/fwrite bastien
From: "Ron Piggott (PHP)" <ron.php@xxxxxxxxxxxxxxxxxx> Reply-To: ron.php@xxxxxxxxxxxxxxxxxx To: PHP DB <php-db@xxxxxxxxxxxxx> Subject: Writing to a file Date: Sat, 25 Feb 2006 21:42:25 -0500 I wonder if someone would tell me the command in PHP that allows me to write to a file --- for example "test.txt" Just for this example I would like the word "apple" to be the contents of "test.txt" Now if I want to re-create "test.txt" --- erasing all the contents and start over and this time have the word "orange" in it how would you do this? What commands do you use? Thanks for your help. Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php