erase all data from txt file - php
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4297570/how-do-i-purge-the-contents-of-a-text-file-in-php">How do i purge the contents of a text file in php</a>  </p>
</blockquote>



<p>Hi..</p>

<p>How can I erase all the data stored (make blank) in my text file <code>myfile.txt</code> using php??</p>
