Women in Technology

Hear us Roar



Article:
  PHP Form Handling
Subject:   Unable to process this Form Help please
Date:   2006-09-12 20:18:52
From:   vabril
<body>
<form id="procedure" name="procedure" method="POST" action="results.php">

<label></label>
<label></label>


<table width="800" border="0">
<tr>
<td align="center" valign="middle">

SYNIVERSE METHOD OF PROCEDURE

</td>
</tr>
</table>
<fieldset id="general_info">
<legend class="style6">General Information</legend>
<table width="800" height="291" border="0" bgcolor="#F4F7FF" id="basic_Info">
<tr>
<td width="246">

<span class="style2">Customer:</span>

<span class="style3">Syniverse Technologies</span>

</td>
<td>

<span class="style2">Location of Activity: </span>

Tampa, FL

</td>
<td colspan="2"><label class="style3">
Product
<select name="select_pro" class="style2" id="select_pro">
<option>ACCESSibility</option>
<option>Analyzer</option>
<option>Uniroam</option>
<option>EDT</option>
<option>CTP</option>
</select>
</label>
<label class="style3"> </label>
<label class="style3">Release #
<input name="release_number" type="text" class="style2" id="release_number" value="2.46.00.3" size="12" maxlength="12" />
</label></td>
</tr>
<tr>
<th nowrap="nowrap"><span class="style3">Start Date:</span>

<select name="start_month" size="1" class="style2" id="start_month">
<option>Month</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
<label></label>
<label>
<select name="start_day" class="style2" id="start_day">
<option>Day</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
</label>
<select name="start_year" class="style2" id="start_year">
<option>Year</option>
<option>2006</option>
<option>2007</option>
<option>2008</option>
<option>2009</option>
<option>2010</option>
</select>
<label></label>
</th>
<th width="175" nowrap="nowrap">

Start Time:

<select name="start_time" class="style2" id="select">
<option>00:00</option>
<option>00:30</option>
<option>01:00</option>
<option>01:30</option>
<option>02:00</option>
<option>02:30</option>
<option>03:00</option>
<option>03:30</option>
<option>04:00</option>
<option>04:30</option>
<option>05:00</option>
<option>05:30</option>
<option>06:00</option>
<option>06:30</option>
<option>07:00</option>
<option>07:30</option>
<option>08:00</option>
<option>08:30</option>
<option>09:00</option>
<option>09:30</option>
<option>10:00</option>
<option>10:30</option>
<option>11:00</option>
<option>11:30</option>
<option>12:00</option>
<option>12:30</option>
</select>

<label>
<select name="start_am" class="style2" id="start_am">
<option>PM</option>
<option>AM</option>
</select>
</label>

</th>
<th width="247" nowrap="nowrap"><span class="style3">End Date:</span>


<select name="end_month" class="style2" id="end_month">
<option>Month</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
<label></label>
<label>
<select name="end_day" class="style2" id="end_day">
<option>Day</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
</label>
<label>
<select name="end_year" class="style2" id="end_year">
<option>Year</option>
<option>2006</option>
<option>2007</option>
<option>2008</option>
<option>2009</option>
<option>2010</option>
</select>
</label>
</th>
<th width="168" nowrap="nowrap">

End Time:

<select name="end_time" class="style2" id="select2">
<option>00:00</option>
<option>00:30</option>
<option>01:00</option>
<option>01:30</option>
<option>02:00</option>
<option>02:30</option>
<option>03:00</option>
<option>03:30</option>
<option>04:00</option>
<option>04:30</option>
<option>05:00</option>
<option>05:30</option>
<option>06:00</option>
<option>06:30</option>
<option>07:00</option>
<option>07:30</option>
<option>08:00</option>
<option>08:30</option>
<option>09:00</option>
<option>09:30</option>
<option>10:00</option>
<option>10:30</option>
<option>11:00</option>
<option>11:30</option>
<option>12:00</option>
<option>12:30</option>
</select>

<label>
<select name="end_am" class="style2" id="end_am">
<option>PM</option>
<option>AM</option>
</select>
</label>

</th>
</tr>
<tr>
<td height="76">

Back out Decision Time:
<select name="backout_time" class="style2" id="select7">
<option>00:00</option>
<option>00:30</option>
<option>01:00</option>
<option>01:30</option>
<option>02:00</option>
<option>02:30</option>
<option>03:00</option>
<option>03:30</option>
<option>04:00</option>
<option>04:30</option>
<option>05:00</option>
<option>05:30</option>
<option>06:00</option>
<option>06:30</option>
<option>07:00</option>
<option>07:30</option>
<option>08:00</option>
<option>08:30</option>
<option>09:00</option>
<option>09:30</option>
<option>10:00</option>
<option>10:30</option>
<option>11:00</option>
<option>11:30</option>
<option>12:00</option>
<option>12:30</option>
</select>

<select name="backout_pm" class="style2" id="select8">
<option>PM</option>
<option>AM</option>
</select>

</td>
<td colspan="2"><div align="left"><span class="style3">RMS Number (if applicable):</span>
<input name="rms_number" type="text" class="style2" id="rms_number" size="8" maxlength="4" />
</div>
<label>
<div align="center"></div>
</label>
Back out Duration:
<label>
<input name="back_out_dura" type="text" class="style2" id="back_out_dura" size="8" maxlength="6" />
</label> </td>
<td>

TSG Number:
<label>
<input name="tsg_number" type="text" class="style2" id="tsg_number" size="24" maxlength="24" />


Escalation Notification: </label>
<label>
<input name="escal_notify" type="text" class="style2" id="escal_notify" size="24" maxlength="20" />
</label>

</td>
</tr>
<tr>
<td height="71" colspan="4">

General Description of Work:


<label>
<textarea name="gen_desc" cols="75" rows="4" class="style2" id="gen_desc"></textarea>
</label>

</td>
</tr>
<tr>
<td colspan="4"><span class="style3">Install on:</span>
<label class="style2">rpteng01
<input type="checkbox" name="checkbox" value="checkbox" />
</label>
<label class="style2">rpteng02
<input type="checkbox" name="checkbox2" value="checkbox" />
</label>
<label class="style2">rpteng03
<input type="checkbox" name="checkbox3" value="checkbox" />
</label>
<label class="style2">rpteng04
<input type="checkbox" name="checkbox4" value="checkbox" />
</label>
<label class="style2">dweudb-lh
<input type="checkbox" name="checkbox5" value="checkbox" />
</label>
<label class="style2">accwebdl-lh
<input type="checkbox" name="checkbox6" value="checkbox" />
</label>
<label class="style2">acdwapp-lh
<input type="checkbox" name="checkbox7" value="checkbox" />
</label>
<label class="style2">accapp-lh
<input type="checkbox" name="checkbox8" value="checkbox" />
</label>
<label class="style2">schlitz
<input type="checkbox" name="checkbox9" value="checkbox" />
</label>
<label class="style2"></label></td>
</tr>
</table>
<table width="800" border="0" bgcolor="#F4F7FF">
<tr>
<td width="549"><span class="style3">Additional Notes:


<textarea name="textfield5" cols="75" rows="3" class="style2"></textarea>
</span>

</td>
<td width="225"><label class="style3"></label>
<span class="style3">TIMELINE</span>

<span class="style2">
<label class="style2">
<input name="pre_install" type="text" class="style2" id="pre_install" value="00:00:PM" size="15" maxlength="8" />
Pre-Activity</label>
</span>

<span class="style2">
<label>
<input name="textfield" type="text" class="style2" value="00:00:PM" size="15" maxlength="8" />
Backup</label>
<label class="style2"></label>


<label class="style2">
<input name="textfield2" type="text" class="style2" value="00:00:PM" size="15" maxlength="8" />
Perform Install</label>
</span>

<label class="style2">
<input name="textfield3" type="text" class="style2" value="00:00:PM" size="15" maxlength="8" />
Validation</label></td>
</tr>
</table>
</fieldset>
<fieldset id="pre_activity">
<legend class="style6">Pre-activity Procedures</legend>
<table width="800" border="0">
</table>
<table width="800" border="0" bgcolor="#F4F7FF">
<tr>
<td width="61" class="style3">Step # </td>
<td width="118" class="style3"><div align="center">Estimate Time

For Completion </div></td>
<td width="607"><div align="center">This procedure outlines steps for tasks to be performed prior to the scheduled activity.</div></td>
</tr>
<tr>
<td><label>
<select name="step_1" size="1" class="style2" id="step_1">
<option>#1</option>
<option>#2</option>
<option>#3</option>
<option>#4</option>
</select>
</label></td>
<td><label>
<select name="estimate_1" class="style2" id="estimate_1">
<option>5-min</option>
<option>10-min</option>
<option>15-min</option>
<option>20-min</option>
<option>25-min</option>
<option>30-min</option>
<option>35-min</option>
<option>40-min</option>
<option>45-min</option>
<option>50-min</option>
<option>55-min</option>
<option>1-Hour</option>
<option>2-Hour</option>
<option>3-Hour</option>
<option>4-Hour</option>
<option>5-Hour</option>
</select>
</label></td>
<td><label>
<textarea name="pre_step1" cols="85" rows="3" class="style2" id="pre_step1"></textarea>
</label></td>
</tr>
<tr>
<td><select name="step_2" size="1" class="style2" id="select3">
<option>#1</option>
<option>#2</option>
<option>#3</option>
<option>#4</option>
</select></td>
<td><select name="estimate_2" class="style2" id="select5">
<option>5-min</option>
<option>10-min</option>
<option>15-min</option>
<option>20-min</option>
<option>25-min</option>
<option>30-min</option>
<option>35-min</option>
<option>40-min</option>
<option>45-min</option>
<option>50-min</option>
<option>55-min</option>
<option>1-Hour</option>
<option>2-Hour</option>
<option>3-Hour</option>
<option>4-Hour</option>
<option>5-Hour</option>
</select></td>
<td><textarea name="pre_step2" cols="85" rows="3" class="style2" id="pre_step2"></textarea></td>
</tr>
<tr>
<td><select name="step_3" size="1" class="style2" id="select4">
<option>#1</option>
<option>#2</option>
<option>#3</option>
<option>#4</option>
</select></td>
<td><select name="estimate_3" class="style2" id="select6">
<option>5-min</option>
<option>10-min</option>
<option>15-min</option>
<option>20-min</option>
<option>25-min</option>
<option>30-min</option>
<option>35-min</option>
<option>40-min</option>
<option>45-min</option>
<option>50-min</option>
<option>55-min</option>
<option>1-Hour</option>
<option>2-Hour</option>
<option>3-Hour</option>
<option>4-Hour</option>
<option>5-Hour</option>
</select></td>
<td><textarea name="pre_step3" cols="85" rows="3" class="style2" id="pre_step3"></textarea></td>
</tr>
</table>
</fieldset>
<fieldset id="activity_install">
<legend class="style6">Activity / Install</legend>
<table width="800" border="0">
</table>
<table width="800" border="0" bgcolor="#F4F7FF">
<tr>
<td width="71" class="style3">Step#</td>
<td width="99"><div align="center">Estimated Time For Completion</div></td>
<td width="616">This procedure outlines steps for tasks to be performed for the scheduled activity.</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><textarea name="activity_1" cols="85" rows="3" class="style2" id="activity_1"></textarea></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><textarea name="activity_2" cols="85" rows="3" class="style2" id="activity_2"></textarea></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><textarea name="activity_3" cols="85" rows="3" class="style2" id="activity_3"></textarea></td>
</tr>
</table>
</fieldset>

<label></label>
<label></label>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>


</form>
<label></label>
</body>
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Unable to process this Form Help please
    2006-09-12 20:22:49  vabril [View]

    I would like to know how to process the form usnig a PHP scrip. I have been using the following but seems to be to long. I believe there should be a better way to do this: Help please.
    <?php

    echo '<h1 align="center"> SYNIVERSE METHOD OF PROCEDURE</h1>';

    //echo "<h2 align="center" SYNIVERSE METHOD OF PROCEDURE</h2>
    ";
    echo " Customer: Syniverse Technology";
    echo " Product ". ($_POST[select_pro])." Release ".($_POST[release_number]);
    echo '
    ';
    echo " Start Date " . ($_POST[start_month])."/".($_POST[start_day]). "/".($_POST[start_year]);
    //echo '
    ';
    echo " Start Time " . ($_POST[start_time]). " : " .($_POST[start_am]);
    //echo '
    ';
    echo " End Date " . ($_POST[end_month]). "/" .($_POST[end_day]). "/".($_POST[end_year]);
    echo " End Time " . ($_POST[end_time]). "/" .($_POST[end_am]);
    echo '
    ';
    echo "RMS Number (if applicable):" . ($_POST[rms_number]);
    echo "TSG Number: " . ($_POST[tsg_number]);
    echo '
    ';
    echo " General Description of Work: ". ($_POST[gen_desc]);
    echo '
    ';
    //$installon = array($_POST['checkbox'], $_POST['checkbox2'], $_POST['checkbox3']);
    //echo $installon[3];
    //echo " Install On:
    ". ($_POST[checkbox][checkbox2][checkbox3][checkbox4][checkbox5][checkbox6][checkbox7][checkbox8]);
    echo
    ?>