Results 1 to 3 of 3

Thread: Remove text inside of xml via php

  1. #1

    Remove text inside of xml via php

    can some help me please to delete all the text in xml file
    in php

    can some one help me please.

  2. #2
    PHP Code:
    $f fopen('path/to/myfile.xml''w');
    fclose($f); 
    Should work.

  3. #3
    1,839
    posts
    Registered User
    or just delete the file with
    unlink($filename);

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012