you don't see them because they are interpreted as HTML tags, they are
unknown, so they are ignored.
options;
1. View -> Source
2. Encode all "<" as < (HTML version) and it will display it all
as text, then you can copy-paste it to somewhere else
3. Wrap it all in a tag, then follow 2.
4. Output the proper XML declaration at the top of the file so that
IE treats it like XML, and does it's fancy dynamic-tree style
presentation.
^--- a very basic XML declaration
HTH
Beau
// -Original Message-
// From: Martin Hudec [mailto:corwin@;corwin.sk]
// Sent: Wednesday, 30 October 2002 12:00 AM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] exporting to xml
//
//
// Hello,
//
// i am creating script which will make select and desc to table and
// then based on results it will make xml file...all is okay,
// but on my
// IE it takes it as xml file (it is okay) BUT on my screen I dont see
// any of tags...how can i override that?
//
// script is here:
//
// header("Content-type: text/xml");
//
// db related stuff...
//
// $fcount = mysql_num_fields($result);
//
// print ""; //will be table name
//
// while($row = mysql_fetch_array($result)){
// print "";
// for($i=0; $i<$fcount; $i++){
// $tag = mysql_field_name($result,$i);
// print "<$tag>". $row[$i]. "";
// }
// print "";
// }
//
// --
// Best regards,
// Martin mailto:corwin@;corwin.sk
//
//
// --
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, visit: http://www.php.net/unsub.php
//
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php