<php?
    $password=$_post['password'];
    $repassword=$_post['repassword'];
    $mail=$_post['mail'];
    $note=$_post['note'];
    if($_get['operate']=='apply')
     {
    print("<table width=\"101%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" height=\"84\"align=\"center\">");
    print("<tr>");    
    print("<td valign=\"baseline\">");
    print("picture");
    print("</td>");
    print("</tr>");
    print("</table>");
    print('<form name=\"form1\" method=\"post\" action=\"php2.php\">');
    print("<table width=\"84%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"144\">");
    print("<tr>");
    print(" <td width=\"19%\">昵称:*</td>");
    print(" <td width=\"81%\">");
    print("<input type=\"text\" name=\"neckname\">");
    print(" </td>");

解决方案 »

  1.   

    <php?  
    错了,改成<?php另外,写那么多print();累不累啊。
    <?php
        $password=$_post['password'];
        $repassword=$_post['repassword'];
        $mail=$_post['mail'];
        $note=$_post['note'];
        if($_get['operate']=='apply')
         {
    ?>
        <table width="101%" border="1" cellspacing="0" cellpadding="0" height="84"align="center">
        <tr>    
        <td valign="baseline">
    ...
    <?php }?>这样写不就行了。
      

  2.   

    <php?只有<?php .... ?>