确切的错误
This page contains the following errors:
error on line 3 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
我的 PHP 文件
 <?php
 header( 'Content-type: text/xml' );
 mysql_connect( "mysql3.000webhost.com", "Username", "Password" );
 mysql_select_db( 'Ddb' );
 mysql_query( "INSERT INTO items VALUES ( null, null, '".
 mysql_real_escape_string( $_REQUEST['user'] ).
 "', '".
 mysql_real_escape_string( $_REQUEST['message'] ).
 "')" );
?>
<success/>
我的 HTML 文件(我认为这与错误无关。)
<html>
 <head>
  <title>Add Definition Form</title>
 </head>
 <body>
  <form action="add.php" method="POST">
    User: <input name="user" /><br />
    Message: <input name="message" /><br />
    <input type="submit" />
  </form>
 </body>
</html>
chmod 777 所有文件(我知道那很糟糕,但该网站尚未公开)。
如果您需要更多信息,请发表评论。
教程我正在关注http://www.ibm.com/developerworks/library/x-ioschat/index.html#l3ioschat/index.html#l3