Problem going from registration page to thank you/error page!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mideastgirl
    New Member
    • Jun 2009
    • 65

    Problem going from registration page to thank you/error page!!!

    YIKES! I am having problems going from mideasthonors.o rg/addmember.php to either the error page because the form has not been filled out accurately, or to the thank you page!!!! Here is my script, and it just keeps saying that the page cannot be found because it is coming up as www.mideasthono rs.org/mideasthonors.o rg/addmember_db.ph p!


    What the heck is going on!
    [code=php]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Add Member to MEHA</title>
    <META Name="Descripti on" Content="Mideas t Honors Association home" />
    <META Name="Keywords" Content="Mideas t Honors Association, MEHA, MEHA Home"/>
    <link rel="Shortcut Icon" href="/favicon.ico" />
    <link href="style.css " rel="stylesheet " type="text/css" />
    <style type="text/css">

    .style1 {
    text-align: left;
    }
    .style2 {
    font-size: xx-large;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    }

    .style3 {
    font-size: large;
    text-align: center;
    }
    .style6 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 3px 0;
    margin: 3px 0;
    line-height: 12pt;
    text-align: left;
    color: #FFFFFF;
    }
    .style7 {
    color: #FF00FF;
    text-decoration: underline;
    }
    .style8 {
    text-align: center;
    }

    .style11 {
    margin-left: 162px;
    }

    BODY {
    scrollbar-base-color: color;
    scrollbar-track-color: color;
    scrollbar-face-color: #3399ff;
    scrollbar-highlight-color: color;
    scrollbar-3dlight-color: color;
    scrollbar-darkshadow-color: color;
    scrollbar-shadow-color: color;
    scrollbar-arrow-color: #FFCC00;
    }
    .style13 {
    color: #2F77F1;
    }

    .style12 {
    font-size: medium;
    }

    .style9 {
    color: #FFFFFF;
    text-decoration: underline;
    }

    .style5 {
    text-decoration: underline;
    }

    .style29 {
    font-family: Arial, Helvetica, sans-serif;
    }
    .style30 {
    font-family: geneva, arial;
    font-size: 10pt;
    }

    .style31 {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    }

    </style>
    </head>
    <body>

    <div id="container" >

    <div id="header" class="style1" style="width: 991px; height: 100px;"><br />
    <br />
    <strong><span class="style2"> Mideast Honors Association</span></strong></div>

    <div id="leftnav" style="width: 147px">
    <ul id="navlist" class="style12" style="height: 321px">
    <li><a class="style13" href="http://www.mideasthono rs.org">Home</a></li>
    <li><a class="style13" href="executive comm.php">Execu tive Committee</a><a class="style13" href="aboutus.p hp">About Us</a></li>
    <li class="style9"> <strong><span class="style9">
    <a class="style13" href="mehaconst itution.php">ME HA Constitution</a></span></strong></li>
    <li><a class="style13" href="mehaannua lconference.php ">MEHA Annual Conference</a></li>
    <li><a class="style13" href="memberins titutions.php"> Member Institutions</a></li>
    <li><a class="style13" href="membershi pdues.php">Memb ership Dues</a><span class="style9"> <a class="style13" href="becominga mehamember.php" >Becoming
    a Member</a></span></li>
    <li class="style9"> <strong><span class="style5">
    <a class="style13" href="contact.p hp">Contact
    Us</a></span></strong></li>
    <li class="style9"> <strong><a class="style13" href="adminlogi n.php">Administ rator Login</a></strong></li>
    <li class="style9"> <a class="style13" href="http://www.nchchonors. org/">NCHC</a></li>
    </ul>
    <br />
    <br />
    <table cellpadding="0" cellspacing="0" style="width: 134px">
    <!-- MSTableType="la yout" -->
    <tr>
    <td style="width: 134px; height: 14px">
    <p class="style8"> <span class="style7"> <strong>PayPa l Coming Soon!</strong></span><br />
    You will soon be able to pay your registration and dues online with
    PayPal!</p>
    </td>
    </tr>
    </table>
    </div>


    <div id="content" style="width: 810px" class="style11" >

    <h1 style="width: 606px" class="style3"> Add Member to MEHA</h1>




    <p class="style31" style="width: 607px">
    <img alt="Regional Map" src="http://bytes.com/submit/Pictures/regional%20map. gif" width="148" height="103" style="float: left" /></p>
    <p class="style29" style="width: 607px">Any institution within the borders of the Mid East Honors Association is considered to be a member institution. Institutions that have paid membership dues are considered to be "full members" and have voting rights.</p>
    <p class="style29" >Fields with * are required.</p>

    <form name='addmember _db.php' action='' method='post'>

    <span class="style29" >

    <input type='hidden' name='action' value='add' />

    </span>

    <table>

    <tr>
    <td colspan=2><h2 class="style29" >Institution Information</h2></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='name'>Inst itution Name*</label></p></td>
    <td class="style30" ><input type='text' name='name' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='address_1' >Address*</label></p></td>
    <td class="style30" ><input type='text' name='address_1 ' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td class="style30" >&nbsp;</td>
    <td class="style30" ><input type='text' name='address_2 ' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='city'>City *</label></p></td>
    <td class="style30" ><input type='text' name='city' size=45 maxlength=50 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='state'>Sta te*</label>
    <td class="style30" >
    <select name='state'>
    <?php
    $states = array("Illinois ", "Indiana", "Kentucky", "Michigan", "Ohio", "Pennsylvan ia", "Tennessee" , "West Viriginia");
    foreach($states as $a => $value){
    echo "<option name='$value'>$ value</option>";
    }
    ?>
    </select>
    </td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='zip'>ZIP Code*</label></p></td>
    <td class="style30" ><input type='text' name='zip' size=10 maxlength=10 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='website'>W ebsite*</label></p></td>
    <td class="style30" ><input type='text' name='website' value='http://www.' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td colspan=2><h2 class="style29" >Contact Information</h2></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='contact_na me'>Contact Name*</label></p></td>
    <td class="style30" ><input type='text' name='contact_n ame' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='contact_po sition'>Positio n</label></p></td>
    <td class="style30" ><input type='text' name='contact_p osition' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='contact_ph one'>Phone Number*</label></p></td>
    <td class="style30" ><input type='text' name='contact_p hone' size=14 maxlength=14 /></td>
    </tr>

    <tr>
    <td class='style30' ><p class="style29" ><label for='contact_em ail'>Email Address*</label></p></td>
    <td class="style30" ><input type='text' name='contact_e mail' size=45 maxlength=100 /></td>
    </tr>

    <tr>
    <td class="style30" >&nbsp;</td>
    <td class="style30" ><input type='submit' name ="Add Member" value='Add Member' /></td>
    </tr>

    </table>

    </form>

    </div>


    <div align="center" id="footer" style="width: 970px">
    <p class="style6"> Mideast Honors Association<br />
    401 Chestnut Street<br />
    Rhoads Hall Mezzanine<br />
    Terre Haute, IN 47807<br />
    &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp; © 2009 Mideast Honors Association </p>
    </div>

    </div>



    </body>
    </html>
    [/code]
  • Canabeez
    New Member
    • Jul 2009
    • 126

    #2
    Originally posted by mideastgirl
    [code=php]<form name='addmember _db.php' action='' method='post'>[/code]
    On line 138, maybe you should flip the name and the action values, might help... :)

    Comment

    • mideastgirl
      New Member
      • Jun 2009
      • 65

      #3
      Thank you! Now I am just getting a mysql error, so I know something is wrong with my sql in addmember_db.ph p!

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        Originally posted by mideastgirl
        Now I am just getting a mysql error
        is it THAT mysql error???

        Comment

        • mideastgirl
          New Member
          • Jun 2009
          • 65

          #5
          hahha if you are referring to the one from the other thread YES it is that one, but was not the problem because it is still persisting!

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            Originally posted by mideastgirl
            hahha
            how should I know which error it is... you should have noticed that it doesn't make much sense not posting the error message!

            Comment

            • mideastgirl
              New Member
              • Jun 2009
              • 65

              #7
              I did actually post the error message, so I am not sure what you are referring to.

              Comment

              Working...