Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2006
    Location
    CST
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Please Help me finish this PHP Form- Reward$.

    Hello.
    I'm a noob to PHP and created a form called Application.html
    Its for an Americas Army clan website.
    It has to look exactly as it is now. I thought I was doing it right but my codes a jumble, and the form doesn't send throught to the sendmail.php

    http://www.rhinogunparts.com/form/
    I included the txt files for anyone who can help me get this to work.
    Application.html 07-May-2006 06:32 23k
    Application.txt 07-May-2006 06:32 23k
    sendmail.php 07-May-2006 06:32 1k
    sendmail.txt 07-May-2006 06:32 1k

    Oh.. Please PM / Yahoo, or email me for any info needed. This should be really simple if you know PHP, but I'd be glad to offer a 10 dollar PayPal reward- either to you or donate to the forum-your choice. First to post the working scripts. 8)

    -Brian

  • #2
    Regular Coder
    Join Date
    Jan 2006
    Posts
    189
    Thanks
    1
    Thanked 0 Times in 0 Posts
    First of all, there shouldnt be any PHP, as the extension is .html, and i dont see any... and what is with this:??

    Code:
    <?php
    <action="sendmail.php" method="POST">
    <html>
    <head>
    <title>Application</title>
    </head>
    <body>
    
    </form>
    take out the <?php first, then put:
    Code:
    <form action="sendmail.php" method="POST">
    right above:
    Code:
    <b><font face="Arial" size="2" color="#CC0000">INGAME USERNAME:</font></b></td>
    then take out the </form> and put it right BELOW:
    Code:
    <td colspan="2" align="center" style="border-style: solid; border-width: 1" bordercolor="#CDCF07" height="77" bgcolor="#2C2C2C">&nbsp;<p><input type="submit" value="Send">&nbsp;<input type="reset" value="Clear"></p>
    and you should be alright


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •