Jump to content

Whats wrong ??


Mr_J

Recommended Posts

Parse error: syntax error, unexpected '<' in /usr/www/users/cyclet/sub-php/mailform.php on line 11

 

Simple mail form...

code:(from line 9)

<?

 

<FORM ACTION="http://cycletrac.co.za/sub-php/send_comments.php" METHOD=POST>

<TABLE>

    <TR>

        <TD>Your Name:</TD>

        <TD><INPUT TYPE="text" NAME="name" SIZE=30></TD>

    </TR>

    <TR>

        <TD>Your email:</TD>

        <TD><INPUT TYPE="text" NAME="email" size=30></TD>

    </TR>

    <TR>

        <TD>Your Gender:</TD>

        <TD><INPUT TYPE="RADIO" NAME="gender" value="m"> Male

        <TD><INPUT TYPE="RADIO" NAME="gender" value="f"> Female

        </TD>

    </TR>

    <TR>

        <TD>How did you found us?</TD>

        <TD>

            <SELECT NAME="referrer">

            <OPTION VALUE="search">Internet Search Engine</OPTION>

            <OPTION VALUE="tv">Television</OPTION>

            <OPTION VALUE="other">Other</OPTION>

            </SELECT>

        </TD>

    </TR>

    <TR>

        <TD>May we e-mail you?</TD>

        <TD><INPUT TYPE="checkbox" name="may_contact" value="y" checked></TD>

    </TR>

    <TR>

        <TD>Comments</TD>

        <TD><TEXTAREA ROWS=4 COLS=50

                      NAME="comments">Enter your comments here

            </TEXTAREA></TD>

    </TR>

</TABLE>

<INPUT TYPE="SUBMIT" VALUE="Send comments">

</FORM>

?>

 

LINK: http://cycletrac.co.za/sub-php/mailform.php

Link to comment
https://forums.phpfreaks.com/topic/122843-whats-wrong/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.