heres how i do it $xml .= "<?xml version=\"1.0\"?>\n"; "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Friday, August 2, 2002, 2:03:18 AM, you wrote: > SF> Anyone know the workaround with the situation here? Here is the sample > SF> script. The problem is I include the XML tag into the PHP variable and it > SF> messed up everything. It all had to do with "?" here since PHP use it also. > > SF> --clip-- > SF> <?php > SF> $XML = "<?xml version='1.0' encoding='UTF-8'?><Product>Apple</Product>"; > SF> echo $XML; > ?>> > > SF> Thanks, > SF> FletchSOD > > Another variation with single quotes :) > > echo '<?xml version="1.0"?>'; > > -- > regards, > Tom >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php