Results 1 to 3 of 3
  1. #1
    SAMURAl555 Guest

    Default Form problem (need help)

    Well here is the code for the main form page
    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head>
    <
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <
    title>Job Application</title>
    </
    head>
    <
    body background="bgimage.png">
    <
    font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <
    form action="process.php" method="post">
    <
    p align="center">Habbo Name</p>
    <
    p align="center">
    <
    label>
    <
    input type="text" name="name" size="20" />
    </
    label>
    </
    p>
    <
    p align="center">Email<br />
    &
    nbsp;
    <
    input name="email" type="text" size="20" />
    <
    br />
    Job<br />
    &
    nbsp;
    <
    select name="job">
    <
    br />
    <
    option selected value="Component_1_a">Dj</option>
    <
    option>News Reporter </option>
    <
    option>Interviewer </option>
    <
    option>Reviewer </option>
    <
    option>Forum Mod</option>
    </
    select>
    </
    p>
    <
    p align="center">Age
    <label> <br />
    <
    input type="text" name="age" size="20" />
    </
    label>
    </
    p>
    <
    p align="center">Past Experience</p>
    <
    p align="center">
    <
    label>
    <
    textarea name="experience" rows="4" cols="22"></textarea>
    </
    label>
    </
    p>
    <
    p align="center">Why should we pick you?<br />
    <
    label>
    <
    textarea name="pick" rows="5" cols="23"></textarea>
    </
    label>
    <
    br />
    <
    input name="submit" type="submit" onclick=" verifiy( ) " value="send" />
    <
    input name="Reset" type="Reset" onclick=" verifiy( ) " value="reset" />
    </
    p>
    </
    form>
    </
    font>
    </
    body>
    </
    html
    This is the process.php page
    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Job Application Submitted...</title>
    <style type="text/css">
    <!--
    body,td,th {
     font-family: Verdana, Arial, Helvetica, sans-serif;
     font-weight: bold;
     color: #FFFFFF;
    }
    body {
     background-color: #00AAD5;
    }
    -->
    </style></head>
    <body>
    <?php 
    $subject 
    "Job Application";
    $address "[email protected]";
    $name $_POST['name'];
    $email $_POST['email'];
    $job $_POST['job'];
    $age $_POST['age'];
    $experience $_POST['experience'];
    $pick $_POST['pick'];
    $mail "
    Name: 
    $name
    Email: 
    $email
    Job Applied For: 
    $job
    Age: 
    $age
    Experience: 
    $experience
    Why Should We Pick You?: 
    $pick
    "
    ;
    echo 
    "Thank you for sending in a Job Application.";
    mail($address$subject$mail"From: $email");
    }
    ?>
    </body>
    </html>
    Can anyone spot my problem?

  2. #2
    Join Date
    Apr 2006
    Location
    miami
    Posts
    1,040
    Tokens
    0

    Latest Awards:

    Default

    I keep getting that too, but only after i click the little corner buttons on the tables that habbo like.. half way stole from mozilla firefox..

  3. #3
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    Wouldnt it be
    PHP Code:
    if (!isset['submit']) $sql 'insert into 'yourdb' set w.e' 
    because i dont see anythig to dow ith the submit

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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