<input name="subject" size=40 maxlength=40>改成<input name="subject" type="text" id="subject" />
<textarea cols=50 rows=4 name="body"></textarea>改成<textarea name="body" cols="50" rows="4" id="body"></textarea>

解决方案 »

  1.   

    <form methd="post"
    ====>
    <form method="post"????????????
      

  2.   

    <form method="post" action="addthd.php" target="_self"
    name="postthd">
    <input name="subid" type="hidden" value="<?php echo($subid) ?>">
    <input name="parid" type="hidden" value="0">
    <input name="parlvl" type="hidden" value="0">
    <table width="100%">
    <tr><td align="right" width="10%">主题:</td>
    <td width="90%"><input name="subject" id="subject" type="text" size=40 maxlength=40></td></tr>
    <tr><td align="right">正文:</td>
    <td><textarea cols=50 rows=4 name="body" id="body"></textarea></td></tr>
    <tr><td colspan=2 align="center">
    <input type="submit" value="张贴"></td></tr>
    </table>
    </form>