Hi! I have this PHP: ----- $message = ereg_replace("\r","", $message); $message = "<list><med>$message</med><nam>$name</nam><email>$email</email><adr>$adress</adr><tel>$telefon</tel></list>"; $fp = fopen (basename($PHP_SELF) . ".xml", "a"); fwrite ($fp, $message); fclose ($fp); ------ I want to get<bok>at the beginning and </bok>at the end, inside the bok I want several <list>. is it possible to do? Thanks for any help? Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]