<?php // the name of the xml file $file = "blah.xml"; // the data $data = "<?xml version="1.0"?>n"; $data .= "<document>n"; $data .= "t<tag>Tag Data</tag>n"; $data .= "</document>"; // open the file and write the data to it $p = fopen( $file , 'w' ); $w = fwrite( $p , $data ); $c = fclose( $p ); // a message echo "The data was sucessfully added to the file $file"; ?>i'm trying to figure out how to replace the "blah" in blah.xml with the users id. Or even username. anything unique.
Do i make any sense to anyone?

