Jump to content

gdisalvo

New Members
  • Posts

    5
  • Joined

  • Last visited

gdisalvo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. oh - sorry about that. Next time I will post it with those tags to show it is code. I came back because I found the answer. But before I close this thread, I would like to post the answer and get a follow up question. This is a strange answer I found while search google and other postings. It is very obscure because the person said that he used 127.0.0.1 instead of localhost and it worked for him. Well, it worked for me too. So my question is can I have both? Can I execute the html code with localhost and then with 127.0.0.1 if I want? Is this something that I have to change in the host files on the drivers ETC folder? I thought I only needed to change that for the email functions? how can I assure my laptop system to always pick the correct host and not spin into chaos. I think I wasted about 8 days looking for this answer and testing out every possible choice including looking at the code for syntax errors. so simple. If someone knows I will check back and close this problem with a solved.
  2. Let me know if you need other information . Here is the CSS too. body { background:#006600; font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; font-size:small; margin:8px 0 16px; text-align:center; } #form_container { background:#fff; margin:0 auto; text-align:left; width:840px; } #top { display:block; height:10px; margin:10px auto 0; width:650px; } #footer { width:640px; clear:both; color:#999999; text-align:center; width:640px; padding-bottom: 15px; font-size: 85%; } #footer a{ color:#999999; text-decoration: none; border-bottom: 1px dotted #999999; } #bottom { display:block; height:10px; margin:0 auto; width:650px; } form.appnitro { margin:20px 20px 0; padding:0 0 20px; } /**** Logo Section *****/ h1 { background-color:#339900; margin:0; min-height:0; padding:0; text-decoration:none; text-indent:-8000px; } h1 a { display:block; height:100%; min-height:40px; overflow:hidden; } img { behavior:url(css/iepngfix.htc); border:none; } /**** Form Section ****/ .appnitro { font-family:Lucida Grande, Tahoma, Arial, Verdana, sans-serif; font-size:small; } .appnitro li { width:85%; } form ul { font-size:100%; list-style-type:none; margin:0; padding:0; width:100%; } form li { display:block; margin:0; padding:4px 5px 2px 9px; position:relative; } form li:after { clear:both; content:"."; display:block; height:0; visibility:hidden; } .buttons:after { clear:both; content:"."; display:block; height:0; visibility:hidden; } .buttons { clear:both; display:block; margin-top:10px; } * html form li { height:1%; } * html .buttons { height:1%; } * html form li div { display:inline-block; } form li div { color:#444; margin:0 4px 0 0; padding:0 0 8px; } form li span { color:#444; float:left; margin:0 4px 0 0; padding:0 0 8px; } form li div.left { display:inline; float:left; width:48%; } form li div.right { display:inline; float:right; width:48%; } form li div.left .medium { width:100%; } form li div.right .medium { width:100%; } .clear { clear:both; } form li div label { clear:both; color:#444; display:block; font-size:9px; line-height:9px; margin:0; padding-top:3px; } form li span label { clear:both; color:#444; display:block; font-size:9px; line-height:9px; margin:0; padding-top:3px; } form li .datepicker { cursor:pointer !important; float:left; height:16px; margin:.1em 5px 0 0; padding:0; width:16px; } .form_description { border-bottom:1px dotted #ccc; clear:both; display:inline-block; margin:0 0 1em; } .form_description[class] { display:block; } .form_description h2 { clear:left; font-size:160%; font-weight:400; margin:0 0 3px; } .form_description p { font-size:95%; line-height:130%; margin:0 0 12px; } form hr { display:none; } form li.section_break { border-top:1px dotted #ccc; margin-top:9px; padding-bottom:0; padding-left:9px; padding-top:13px; width:97% !important; } form ul li.first { border-top:none !important; margin-top:0 !important; padding-top:0 !important; } form .section_break h3 { font-size:110%; font-weight:400; line-height:130%; margin:0 0 2px; } form .section_break p { font-size:85%; margin:0 0 10px; } /**** Buttons ****/ input.button_text { overflow:visible; padding:0 7px; width:auto; } .buttons input { font-size:120%; margin-right:5px; } /**** Inputs and Labels ****/ label.description { border:none; color:#222; display:block; font-size:95%; font-weight:700; line-height:150%; padding:0 0 1px; } span.symbol { font-size:115%; line-height:130%; } input.text { background:#fff url('../../../images/shadow.gif') repeat-x top; border-bottom:1px solid #ddd; border-left:1px solid #c3c3c3; border-right:1px solid #c3c3c3; border-top:1px solid #7c7c7c; color:#333; font-size:100%; margin:0; padding-left:0; padding-right:0; padding-top:2px; padding-bottom:2px } input.file { color:#333; font-size:100%; margin:0; padding:2px 0; } textarea.textarea { background:#fff url('../../../images/shadow.gif') repeat-x top; border-bottom:1px solid #ddd; border-left:1px solid #c3c3c3; border-right:1px solid #c3c3c3; border-top:1px solid #7c7c7c; color:#333; font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; font-size:100%; margin:0; width:99% } select.select { color:#333; font-size:100%; margin:1px 0; background:#fff url('../../../images/shadow.gif') repeat-x top; border-bottom:1px solid #ddd; border-left:1px solid #c3c3c3; border-right:1px solid #c3c3c3; border-top:1px solid #7c7c7c; padding-left:0; padding-right:0; padding-top:1px; padding-bottom:0 } input.currency { text-align:right; } input.checkbox { display:block; height:13px; line-height:1.4em; margin:6px 0 0 3px; width:13px; } input.radio { display:block; height:13px; line-height:1.4em; margin:6px 0 0 3px; width:13px; } label.choice { color:#444; display:block; font-size:100%; line-height:1.4em; margin:-1.55em 0 0 25px; padding:4px 0 5px; width:90%; } select.select[class] { margin:0; padding:1px 0; } *:first-child+html select.select[class] { margin:1px 0; } .safari select.select { font-size:120% !important; margin-bottom:1px; } input.small { width:25%; } select.small { width:25%; } input.medium { width:50%; } select.medium { width:50%; } input.large { width:99%; } select.large { width:100%; } textarea.small { height:5.5em; } textarea.medium { height:10em; } textarea.large { height:20em; } /**** Errors ****/ #error_message { background:#fff; border:1px dotted red; margin-bottom:1em; padding-left:0; padding-right:0; padding-top:4px; text-align:center; width:99%; } #error_message_title { color:#DF0000; font-size:125%; margin:7px 0 5px; padding:0; } #error_message_desc { color:#000; font-size:100%; margin:0 0 .8em; } #error_message_desc strong { background-color:#FFDFDF; color:red; padding:2px 3px; } form li.error { background-color:#FFDFDF !important; border-bottom:1px solid #EACBCC; border-right:1px solid #EACBCC; margin:3px 0; } form li.error label { color:#DF0000 !important; } form p.error { clear:both; color:red; font-size:10px; font-weight:700; margin:0 0 5px; } form .required { color:red; float:none; font-weight:700; } /**** Guidelines and Error Highlight ****/ form li.highlighted { background-color:#fff7c0; } form .guidelines { background:#f5f5f5; border:1px solid #e6e6e6; color:#444; font-size:80%; left:100%; line-height:130%; margin:0 0 0 8px; padding:8px 10px 9px; position:absolute; top:0; visibility:hidden; width:42%; z-index:1000; } form .guidelines small { font-size:105%; } form li.highlighted .guidelines { visibility:visible; } form li:hover .guidelines { visibility:visible; } .no_guidelines .guidelines { display:none !important; } .no_guidelines form li { width:97%; } .no_guidelines li.section { padding-left:9px; } /*** Success Message ****/ .form_success { clear: both; margin: 0; padding: 90px 0pt 100px; text-align: center } .form_success h2 { clear:left; font-size:160%; font-weight:normal; margin:0pt 0pt 3px; } /*** Password ****/ ul.password{ margin-top:60px; margin-bottom: 60px; text-align: center; } .password h2{ color:#DF0000; font-weight:bold; margin:0pt auto 10px; } .password input.text { font-size:170% !important; width:380px; text-align: center; } .password label{ display:block; font-size:120% !important; padding-top:10px; font-weight:bold; } #li_captcha{ padding-left: 5px; } #li_captcha span{ float:none; } /** Embedded Form **/ .embed #form_container{ border: none; } .embed #top, .embed #bottom, .embed h1{ display: none; } .embed #form_container{ width: 100%; } .embed #footer{ text-align: left; padding-left: 10px; width: 99%; } .embed #footer.success{ text-align: center; } .embed form.appnitro { margin:0px 0px 0; } /*** Calendar **********************/ div.calendar { position: relative; } .calendar table { cursor:pointer; border:1px solid #ccc; font-size: 11px; color: #000; background: #fff; font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; } .calendar .button { text-align: center; padding: 2px; } .calendar .nav { background:#f5f5f5; } .calendar thead .title { font-weight: bold; text-align: center; background: #dedede; color: #000; padding: 2px 0 3px 0; } .calendar thead .headrow { background: #f5f5f5; color: #444; font-weight:bold; } .calendar thead .daynames { background: #fff; color:#333; font-weight:bold; } .calendar thead .name { border-bottom: 1px dotted #ccc; padding: 2px; text-align: center; color: #000; } .calendar thead .weekend { color: #666; } .calendar thead .hilite { background-color: #444; color: #fff; padding: 1px; } .calendar thead .active { background-color: #d12f19; color:#fff; padding: 2px 0px 0px 2px; } .calendar tbody .day { width:1.8em; color: #222; text-align: right; padding: 2px 2px 2px 2px; } .calendar tbody .day.othermonth { font-size: 80%; color: #bbb; } .calendar tbody .day.othermonth.oweekend { color: #fbb; } .calendar table .wn { padding: 2px 2px 2px 2px; border-right: 1px solid #000; background: #666; } .calendar tbody .rowhilite td { background: #FFF1AF; } .calendar tbody .rowhilite td.wn { background: #FFF1AF; } .calendar tbody td.hilite { padding: 1px 1px 1px 1px; background:#444 !important; color:#fff !important; } .calendar tbody td.active { color:#fff; background: #529214 !important; padding: 2px 2px 0px 2px; } .calendar tbody td.selected { font-weight: bold; border: 1px solid #888; padding: 1px 1px 1px 1px; background: #f5f5f5 !important; color: #222 !important; } .calendar tbody td.weekend { color: #666; } .calendar tbody td.today { font-weight: bold; color: #529214; background:#D9EFC2; } .calendar tbody .disabled { color: #999; } .calendar tbody .emptycell { visibility: hidden; } .calendar tbody .emptyrow { display: none; } .calendar tfoot .footrow { text-align: center; background: #556; color: #fff; } .calendar tfoot .ttip { background: #222; color: #fff; font-size:10px; border-top: 1px solid #dedede; padding: 3px; } .calendar tfoot .hilite { background: #aaf; border: 1px solid #04f; color: #000; padding: 1px; } .calendar tfoot .active { background: #77c; padding: 2px 0px 0px 2px; } .calendar .combo { position: absolute; display: none; top: 0px; left: 0px; width: 4em; border: 1px solid #ccc; background: #f5f5f5; color: #222; font-size: 90%; z-index: 100; } .calendar .combo .label, .calendar .combo .label-IEfix { text-align: center; padding: 1px; } .calendar .combo .label-IEfix { width: 4em; } .calendar .combo .hilite { background: #444; color:#fff; } .calendar .combo .active { border-top: 1px solid #999; border-bottom: 1px solid #999; background: #dedede; font-weight: bold; }
  3. Here is the code- no upload of the files: Registration FORM : =================================================== Below ======================= <!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> <title>MAC-Registration Form</title> <link rel="stylesheet" type="text/css" href="../css/macreg.css" media="all"> <script type="text/javascript" src="../js/macreg.js"></script> </script> </head> <body id="main_body"> <img id="top" src="top.png" alt="" name="top" /> <div id="form_container"> <h1><a>MAC Registration Form</a></h1> <form id="form_545513" class="appnitro" method="post" action="RegSubmit.php"> <div class="form_description"> <h2>Swimmer Parent's Information</h2> </div> <ul > <li id="li_1" > <label class="description" for="element_1">Userid / Password </label> </li> <li id="li_2" > <div class="left"> <input id="element_2" name="username" class="element text medium" type="text" maxlength="255" value=""/> <label for="element_2">Userid</label> </div> <div class="right"> <input id="element_3" name="password" class="element text medium" type="password" maxlength="255" value=""/> <label for="element_3">Password</label> </div> </li> <li id="li_4" > <label class="description" for="element_4">Swimmer Parent's Names</label> <div class="left"> <span> <input id="element_4_1" name= "mother_first_name" class="element text" maxlength="255" size="20" value=""/> <label>Mother's First</label> </span> <span> <input id="element_4_2" name= "mother_last_name" class="element text" maxlength="255" size="25" value=""/> <label>Mother's Last</label> </span> </div> <div class="right"> <span> <input id="element_5_1" name= "father_first_name" class="element text" maxlength="255" size="20" value=""/> <label>Father's First</label> </span> <span> <input id="element_5_2" name= "father_last_name" class="element text" maxlength="255" size="25" value=""/> <label>Father's Last</label> </span> </div> </li> <li id="li_6" > <label class="description" for="element_6">Swimmer Parent's Emails </label> <div class="left"> <input id="element_6" name="mother_email" class="element text medium" type="text" maxlength="255" value=""/> <label for="element_6">Mother's Email</label> </div> <div class="right"> <input id="element_7" name="father_email" class="element text medium" type="text" maxlength="255" value=""/> <label for="element_7">Father's Email</label> </div> </li> <li id="li_8" > <div class="left"> <label class="description" for="element_8">Swimmer Parent's Cell Phones </label> <span> <input id="element_8_1" name="element_8_1" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_8_1">(###)</label> </span> <span> <input id="element_8_2" name="element_8_2" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_8_2">###</label> </span> <span> <input id="element_8_3" name="element_8_3" class="element text" size="4" maxlength="4" value="" type="text"> <label for="element_8_3">####</label> </span> </div> <div></div> <div class="right"></div> <div class="right"> <span> <input id="element_9_1" name="element_9_1" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_9_1">(###)</label> </span> <span> <input id="element_9_2" name="element_9_2" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_9_2">###</label> </span> <span> <input id="element_9_3" name="element_9_3" class="element text" size="4" maxlength="4" value="" type="text"> <label for="element_9_3">####</label> </span> </div> </li> <li id="li_10" > <label class="description" for="element_10">Swimmer Parents Home Address </label> <div> <input id="element_10_1" name="address" class="element text large" value="" type="text"> <label for="element_10_1">Street Address</label> </div> <div> <input id="element_10_2" name="element_10_2" class="element text large" value="" type="text"> <label for="element_10_2">Address Line 2</label> </div> <div class="left"> <input id="element_10_3" name="city" class="element text medium" value="" type="text"> <label for="element_10_3">City</label> </div> <div class="right"> <input id="element_10_4" name="state" class="element text medium" value="" type="text"> <label for="element_10_4">State / Province / Region</label> </div> <div class="left"> <input id="element_10_5" name="zip" class="element text medium" maxlength="15" value="" type="text"> <label for="element_10_5">Postal / Zip Code</label> </div> <select class="element select medium" id="element_10_6" name="element_9_6"> <option value="USA">USA</option> </select> <label for="element_10_6">Country</label> </li> <div></div> <div class="form_description"> <h2>Swimmer's Information</h2> </div> <li id="li_11" > <label class="description" for="element_11">Swimmer Name </label> <span> <input id="element_11_1" name= "swimmer_first_name" class="element text" maxlength="255" size="20" value=""/> <label>First</label> </span> <span> <input id="element_11_2" name= "swimmer_last_name" class="element text" maxlength="255" size="25" value=""/> <label>Last</label> </span> <div class="right"> <span> <input id="element_12_1" name="element_12_1" class="element text" size="2" maxlength="2" value="" type="text"> / <label for="element_12_1">MM</label> </span> <span> <input id="element_12_2" name="element_12_2" class="element text" size="2" maxlength="2" value="" type="text"> / <label for="element_12_2">DD</label> </span> <span> <input id="element_12_3" name="element_12_3" class="element text" size="4" maxlength="4" value="" type="text"> <label for="element_12_3">YYYY</label> </span> </div> </li> <li id="li_13" > <label class="description" for="element_13">Permisson </label> <span> <input id="element_13_1" name="sal_reg_ok" class="element checkbox" type="checkbox" value="1" /> <label class="choice" for="element_13_1">Register with Suburban Aquatic League</label> <input id="element_13_2" name="usa_reg_ok" class="element checkbox" type="checkbox" value="1" /> <label class="choice" for="element_13_3">Register with USA Swim</label> <input id="element_13_3" name="pictures_ok" class="element checkbox" type="checkbox" value="1" /> <label class="choice" for="element_13_2">Picture of your swimmer</label> </span> <div class="right"> <select class="element select medium" id="element_13_4" name="Gender"> <option value="USA">Female</option> <option value="USA">Male</option> </select> <label for="element_13_4">Gender</label> </div> </li> <div></div> <div class="form_description"> <h2>Swimmer's Emergency Contact Information</h2> </div> <li id="li_14" > <label class="description" for="element_14">Emergency Contact Names </label> <div class="left"> <span> <input id="element_14_1" name= "element_14_1" class="element text" maxlength="255" size="20" value=""/> <label>First</label> </span> <span> <input id="element_14_2" name= "element_14_2" class="element text" maxlength="255" size="25" value=""/> <label>Last</label> </span> </div> <div class="right"> <span> <input id="element_15_1" name= "element_15_1" class="element text" maxlength="255" size="20" value=""/> <label>First</label> </span> <span> <input id="element_15_2" name= "element_15_2" class="element text" maxlength="255" size="25" value=""/> <label>Last</label> </span> </div> </li> <li id="li_16" > <label class="description" for="element_16">Emergency Contact Phone Numbers </label> <div class="left"> <span> <input id="element_16_1" name="element_16_1" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_16_1">(###)</label> </span> <span> <input id="element_16_2" name="element_16_2" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_16_2">###</label> </span> <span> <input id="element_16_3" name="element_16_3" class="element text" size="4" maxlength="4" value="" type="text"> <label for="element_16_3">####</label> </span> </div> <div class="right"> <span> <input id="element_17_1" name="element_17_1" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_17_1">(###)</label> </span> <span> <input id="element_17_2" name="element_17_2" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_17_2">###</label> </span> <span> <input id="element_17_3" name="element_17_3" class="element text" size="4" maxlength="4" value="" type="text"> <label for="element_17_3">####</label> </span> </div> </li> <li id="li_18" > <label class="description" for="element_18">Contact Relationship</label> <div class="left"> <input id="element_18" name="emergency_relation1" class="element text medium" type="text" maxlength="255" value=""/> </div> <div class="right"> <input id="element_19" name="emergency_relation2" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <div></div> <div class="form_description"> <h2>Emergency Medical Information</h2> </div> <li id="li_11" > <label class="description" for="element_11">Medical Policy Carrier </label> <div> <input id="element_11" name="medical_carrier" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_14" > <label class="description" for="element_14">Medical Policy Number</label> <div> <input id="element_14" name="medical_policy" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_22" > <label class="description" for="element_22">Medical Doctor's Name </label> <div> <input id="element_22" name="medical_doctor" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_23" > <label class="description" for="element_23">Medical Doctor's Phone </label> <span> <input id="element_23_1" name="element_23_1" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_23_1">(###)</label> </span> <span> <input id="element_23_2" name="element_23_2" class="element text" size="3" maxlength="3" value="" type="text"> - <label for="element_23_2">###</label> </span> <span> <input id="element_23_3" name="element_23_3" class="element text" size="4" maxlength="4" value="" type="text"> <label for="element_23_3">####</label> </span> </li> <li id="li_24" > <label class="description" for="element_24">Medical Hospital </label> <div> <input id="element_24" name="medical_hospital" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_25" > <label class="description" for="element_25">Medical Conditions </label> <div> <textarea id="element_25" name="medical_conditions" class="element textarea medium"></textarea> </div> </li> <li class="buttons"> <input type="hidden" name="form_id" value="545513" /> <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" /> </li> </ul> </form> </div> <img id="bottom" src="bottom.png" alt="" name="bottom" /> </body> </html> Here is the code- added form to database : RegSubmit.php from hell : =================================================== Below ======================= include ("incecho.php"); include ("RegVariables.php"); include ("incecho2.php"); /* Database Connect */ include ("RegConnect.php"); /* Query for Parents record in database*/ include ("RegQueryParents.php"); /* Database Insert for Parents*/ include ("RegInsertParents.php"); /* Database Update for Parents*/ include ("RegUpdateParents.php"); /* Database Insert for Swimmers*/ include ("RegInsertSwimmer.php"); /* Database Insert for Medical*/ include ("RegInsertMedical.php"); mysql_free_result($result); ========================================================================= The Echo includes are not getting fired off. include ("incecho.php"); - echos all form entries include ("RegVariables.php"); - Move all form entries to variables ( no validation yet ) include ("incecho2.php"); - Echo movement of the new variables /* Database Connect */ include ("RegConnect.php"); - standard connect to database /* Query for Parents record in database*/ include ("RegQueryParents.php"); - standard query for main table to check for parent ID (used in other tables) checking user name if already registered /* Database Insert for Parents*/ include ("RegInsertParents.php"); - No ID - do insert /* Database Update for Parents*/ include ("RegUpdateParents.php"); - If ID present than update information that is new /* Database Insert for Swimmers*/ include ("RegInsertSwimmer.php"); - simple insert no validate yet /* Database Insert for Medical*/ include ("RegInsertMedical.php") - simple insert no validate yet I will include echo files below to test on your side. ====================================================================== echo 1 <?php echo " " . $_POST['username'] ."<br>"; echo " " . $_POST['password'] ."<br>"; echo " " . $_POST['mother_first_name'] ."<br>"; echo " " . $_POST['mother_last_name'] ."<br>"; echo " " . $_POST['father_first_name'] ."<br>"; echo " " . $_POST['father_last_name'] ."<br>"; echo " " . $_POST['mother_email'] ."<br>"; echo " " . $_POST['father_email'] ."<br>"; echo " " . $_POST['element_8_1'] ."<br>"; echo " " . $_POST['element_8_2'] ."<br>"; echo " " . $_POST['element_8_3'] ."<br>"; echo " " . $_POST['element_9_1'] ."<br>"; echo " " . $_POST['element_9_2'] ."<br>"; echo " " . $_POST['element_9_3'] ."<br>"; echo " " . $_POST['address'] ."<br>"; echo " " . $_POST['element_10_2'] ."<br>"; echo " " . $_POST['city'] ."<br>"; echo " " . $_POST['state'] ."<br>"; echo " " . $_POST['zip'] ."<br>"; echo " " . $_POST['swimmer_first_name'] ."<br>"; echo " " . $_POST['swimmer_last_name'] ."<br>"; echo " " . $_POST['element_12_1'] ."<br>"; echo " " . $_POST['element_12_2'] ."<br>"; echo " " . $_POST['element_12_3'] ."<br>"; echo " " . $_POST['sal_reg_ok'] ."<br>"; echo " " . $_POST['usa_reg_ok'] ."<br>"; echo " " . $_POST['pictures_ok'] ."<br>"; echo " " . $_POST['element_14_1'] ."<br>"; echo " " . $_POST['element_14_2'] ."<br>"; echo " " . $_POST['element_15_1'] ."<br>"; echo " " . $_POST['element_15_2'] ."<br>"; echo " " . $_POST['element_16_1'] ."<br>"; echo " " . $_POST['element_16_2'] ."<br>"; echo " " . $_POST['element_16_3'] ."<br>"; echo " " . $_POST['element_17_1'] ."<br>"; echo " " . $_POST['element_17_2'] ."<br>"; echo " " . $_POST['element_17_3'] ."<br>"; echo " " . $_POST['emergency_relation1'] ."<br>"; echo " " . $_POST['emergency_relation2'] ."<br>"; echo " " . $_POST['medical_carrier'] ."<br>"; echo " " . $_POST['medical_policy'] ."<br>"; echo " " . $_POST['medical_doctor'] ."<br>"; echo " " . $_POST['element_23_1'] ."<br>"; echo " " . $_POST['element_23_2'] ."<br>"; echo " " . $_POST['element_23_3'] ."<br>"; echo " " . $_POST['medical_hospital'] ."<br>"; ?> ==================================================================== <?php echo " " . $username ."<br>"; echo " " . $password ."<br>"; echo " " . $mother_first_name ."<br>"; echo " " . $mother_last_name ."<br>"; echo " " . $father_first_name ."<br>"; echo " " . $father_last_name ."<br>"; echo " " . $mother_email ."<br>"; echo " " . $father_email ."<br>"; echo " " . $element_8_1 ."<br>"; echo " " . $element_8_2 ."<br>"; echo " " . $element_8_3 ."<br>"; echo " " . $element_9_1 ."<br>"; echo " " . $element_9_2 ."<br>"; echo " " . $element_9_3 ."<br>"; echo " " . $address ."<br>"; echo " " . $element_10_2 ."<br>"; echo " " . $city ."<br>"; echo " " . $state ."<br>"; echo " " . $zip ."<br>"; echo " " . $swimmer_first_name ."<br>"; echo " " . $swimmer_last_name ."<br>"; echo " " . $element_12_1 ."<br>"; echo " " . $element_12_2 ."<br>"; echo " " . $element_12_3 ."<br>"; echo " " . $sal_reg_ok ."<br>"; echo " " . $usa_reg_ok ."<br>"; echo " " . $pictures_ok ."<br>"; echo " " . $element_14_1 ."<br>"; echo " " . $element_14_2 ."<br>"; echo " " . $element_15_1 ."<br>"; echo " " . $element_15_2 ."<br>"; echo " " . $element_16_1 ."<br>"; echo " " . $element_16_2 ."<br>"; echo " " . $element_16_3 ."<br>"; echo " " . $element_17_1 ."<br>"; echo " " . $element_17_2 ."<br>"; echo " " . $element_17_3 ."<br>"; echo " " . $emergency_relation1 ."<br>"; echo " " . $emergency_relation2 ."<br>"; echo " " . $medical_carrier ."<br>"; echo " " . $medical_policy ."<br>"; echo " " . $medical_doctor ."<br>"; echo " " . $element_23_1 ."<br>"; echo " " . $element_23_2 ."<br>"; echo " " . $element_23_3 ."<br>"; echo " " . $medical_hospital ."<br>"; ?> = ================================================================================ variables ===================== <?php $username = $_POST['username']; $password = $_POST['password']; $mother_first_name = $_POST['mother_first_name']; $mother_last_name = $_POST['mother_last_name']; $father_first_name = $_POST['father_first_name']; $father_last_name = $_POST['father_last_name']; $mother_email = $_POST['mother_email']; $father_email = $_POST['father_email']; $element_8_1 = $_POST['element_8_1']; $element_8_2 = $_POST['element_8_2']; $element_8_3 = $_POST['element_8_3']; $element_9_1 = $_POST['element_9_1']; $element_9_2 = $_POST['element_9_2']; $element_9_3 = $_POST['element_9_3']; $address = $_POST['address']; $element_10_2 = $_POST['element_10_2']; $city = $_POST['city']; $state = $_POST['state']; $zip = $_POST['zip']; $swimmer_first_name = $_POST['swimmer_first_name']; $swimmer_last_name = $_POST['swimmer_last_name']; $element_12_1 = $_POST['element_12_1']; $element_12_2 = $_POST['element_12_2']; $element_12_3 = $_POST['element_12_3']; $sal_reg_ok = $_POST['sal_reg_ok']; $usa_reg_ok = $_POST['usa_reg_ok']; $pictures_ok = $_POST['pictures_ok']; $gender = $_POST['gender']; $element_14_1 = $_POST['element_14_1']; $element_14_2 = $_POST['element_14_2']; $element_15_1 = $_POST['element_15_1']; $element_15_2 = $_POST['element_15_2']; $element_16_1 = $_POST['element_16_1']; $element_16_2 = $_POST['element_16_2']; $element_16_3 = $_POST['element_16_3']; $element_17_1 = $_POST['element_17_1']; $element_17_2 = $_POST['element_17_2']; $element_17_3 = $_POST['element_17_3']; $emergency_relation1 = $_POST['emergency_relation1']; $emergency_relation2 = $_POST['emergency_relation2']; $medical_carrier = $_POST['medical_carrier']; $medical_policy = $_POST['medical_policy']; $medical_doctor = $_POST['medical_doctor']; $element_23_1 = $_POST['element_23_1']; $element_23_2 = $_POST['element_23_2']; $element_23_3 = $_POST['element_23_3']; $medical_hospital = $_POST['medical_hospital']; $medical_conditions = $_POST['medical_conditions']; ?>
  4. Hello everyone, I hope you guys can help me out as this has stumped me. I am new to PHP and creating web sites. I setup XAMPP - working great Created websites with nice menus - working great. Create PHP database code and working great. I tried to build a registration form and then move the data to the database. It was working fine as a stand alone form and several PHP includes plus the action from the form. These were working great until I moved the entire set into another HTML form. I tried to embeed the form in the main website it it crashed. I removed the form and replace the old page on the site. Now back to the problem, the form was working and now it does not want to do the php after the action. I fire up the form, enter data, hit submit, and then it pass over to the php but nothing. Sometimes I get ?> sometimes nothing? What could be the issue with the form or the PHP or both? Here is the code for the form and the PHP action. The code may not be perfect and I expect syntax issue once it starts to run. If you have xampp and have some time, please take a look at the form and see if the data is getting to POST. Thank, G Registration.html
×
×
  • 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.