13 Replies Latest reply on Nov 13, 2008 1:30 PM by Newsgroup_User

    head tag locked

    Parabuck
      I'm working in DW CS3 and I am attempting to add additional spry components into a page. I currently have some already but for some reason when trying to add a spry validation text field DW gives me an error saying:

      "Required links could not be added to this file because the <head> tag is in a locked region. To insert this content, open the template file ' ' and either unlock the <head> tag or add this content to the template."

      The problem is, I don't have a template for the site I'm building. So there is nothing to unlock or add to. And I'm unable to detach any template because one doesn't exist.

      Any suggestions on how to correct this issue??
        • 1. Re: head tag locked
          Level 7
          Let's see the page.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "Parabuck" <webforumsuser@macromedia.com> wrote in message
          news:gfgfa1$op6$1@forums.macromedia.com...
          > I'm working in DW CS3 and I am attempting to add additional spry
          > components
          > into a page. I currently have some already but for some reason when
          > trying to
          > add a spry validation text field DW gives me an error saying:
          >
          > "Required links could not be added to this file because the <head> tag is
          > in a
          > locked region. To insert this content, open the template file ' ' and
          > either
          > unlock the <head> tag or add this content to the template."
          >
          > The problem is, I don't have a template for the site I'm building. So
          > there
          > is nothing to unlock or add to. And I'm unable to detach any template
          > because
          > one doesn't exist.
          >
          > Any suggestions on how to correct this issue??
          >

          • 2. head tag locked
            Parabuck Level 1
            The system won't allow me to attach the code by using the "attach code" option. Is there another way to get it to you?
            • 3. Re: head tag locked
              Level 7
              Hmm - what you see below is what I see. Can you just paste your URL into a
              reply, please?

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "Parabuck" <webforumsuser@macromedia.com> wrote in message
              news:gfhnot$ivg$1@forums.macromedia.com...
              > here you go....thanks for taking a look at it for me.

              • 4. Re: head tag locked
                Parabuck Level 1
                <?php
                if (!function_exists("GetSQLValueString")) {
                function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
                {
                $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

                $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

                switch ($theType) {
                case "text":
                $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                break;
                case "long":
                case "int":
                $theValue = ($theValue != "") ? intval($theValue) : "NULL";
                break;
                case "double":
                $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
                break;
                case "date":
                $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                break;
                case "defined":
                $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
                break;
                }
                return $theValue;
                }
                }

                if (!function_exists("GetSQLValueString")) {
                function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
                {
                $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

                $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

                switch ($theType) {
                case "text":
                $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                break;
                case "long":
                case "int":
                $theValue = ($theValue != "") ? intval($theValue) : "NULL";
                break;
                case "double":
                $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
                break;
                case "date":
                $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                break;
                case "defined":
                $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
                break;
                }
                return $theValue;
                }
                }

                $editFormAction = $_SERVER['PHP_SELF'];
                if (isset($_SERVER['QUERY_STRING'])) {
                $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
                }

                if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "addCalendar")) {
                $insertSQL = sprintf("INSERT INTO calendar (CalendarID, CalStation, CalEmp1, CalEmp2, Emp1Hours, Emp2Hours, CalDate, CalStation2, Sta2Emp1, Sta2Emp2, Sta2Emp1Hours, Sta2Emp2Hours, CalStation3, Sta3Emp1, Sta3Emp2, Sta3Emp1Hours, Sta3Emp2Hours, CalStation4, Sta4Emp1, Sta4Emp2, Sta4Emp1Hours, Sta4Emp2Hours, Sta3StartTime, Sta3StopTime, Sta4StartTime, Sta4StopTime, Sta1Emp1Reason, Sta1Emp2Reason, Sta2Emp1Reason, Sta2Emp2Reason, Sta3Emp1Reason, Sta3Emp2Reason, Sta4Emp1Reason, Sta4Emp2Reason, EventName) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                GetSQLValueString($_POST['CalendarID'], "int"),
                GetSQLValueString($_POST['CalStation'], "text"),
                GetSQLValueString($_POST['CalEmp1'], "text"),
                GetSQLValueString($_POST['CalEmp2'], "text"),
                GetSQLValueString($_POST['Emp1Hours'], "double"),
                GetSQLValueString($_POST['Emp2Hours'], "double"),
                GetSQLValueString($_POST['CalDate'], "date"),
                GetSQLValueString($_POST['CalSta2'], "text"),
                GetSQLValueString($_POST['Sta2Emp1'], "text"),
                GetSQLValueString($_POST['Sta2Emp2'], "text"),
                GetSQLValueString($_POST['Sta2Emp1Hours'], "double"),
                GetSQLValueString($_POST['Sta2Emp2Hours'], "double"),
                GetSQLValueString($_POST['CalSta3'], "text"),
                GetSQLValueString($_POST['Sta3Emp1'], "text"),
                GetSQLValueString($_POST['Sta3Emp2'], "text"),
                GetSQLValueString($_POST['Sta3Emp1Hours'], "double"),
                GetSQLValueString($_POST['Sta3Emp2Hours'], "double"),
                GetSQLValueString($_POST['CalSta4'], "text"),
                GetSQLValueString($_POST['Sta4Emp1'], "text"),
                GetSQLValueString($_POST['Sta4Emp2'], "text"),
                GetSQLValueString($_POST['Sta4Emp1Hours'], "double"),
                GetSQLValueString($_POST['Sta4Emp2Hours'], "double"),
                GetSQLValueString($_POST['Sta3StartTime'], "date"),
                GetSQLValueString($_POST['Sta3StopTime'], "date"),
                GetSQLValueString($_POST['Sta4StartTime'], "date"),
                GetSQLValueString($_POST['Sta4StopTime'], "date"),
                GetSQLValueString($_POST['Sta1Emp1Reason'], "text"),
                GetSQLValueString($_POST['Sta1Emp2Reason'], "text"),
                GetSQLValueString($_POST['Sta2Emp1Reason'], "text"),
                GetSQLValueString($_POST['Sta2Emp2Reason'], "text"),
                GetSQLValueString($_POST['Sta3Emp1Reason'], "text"),
                GetSQLValueString($_POST['Sta3Emp2Reason'], "text"),
                GetSQLValueString($_POST['Sta4Emp1Reason'], "text"),
                GetSQLValueString($_POST['Sta4Emp2Reason'], "text"),
                GetSQLValueString($_POST['CalEventName'], "text"));
                • 5. Re: head tag locked
                  Parabuck Level 1
                  mysql_select_db($database_Lifeline, $Lifeline);
                  $Result1 = mysql_query($insertSQL, $Lifeline) or die(mysql_error());

                  $insertGoTo = "calendar.php";
                  if (isset($_SERVER['QUERY_STRING'])) {
                  $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
                  $insertGoTo .= $_SERVER['QUERY_STRING'];
                  }
                  header(sprintf("Location: %s", $insertGoTo));
                  }

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_calEmployee = "SELECT EmpName, LastName FROM employees ORDER BY EmpName ASC";
                  $calEmployee = mysql_query($query_calEmployee, $Lifeline) or die(mysql_error());
                  $row_calEmployee = mysql_fetch_assoc($calEmployee);
                  $totalRows_calEmployee = mysql_num_rows($calEmployee);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsStation = "SELECT * FROM station";
                  $rsStation = mysql_query($query_rsStation, $Lifeline) or die(mysql_error());
                  $row_rsStation = mysql_fetch_assoc($rsStation);
                  $totalRows_rsStation = mysql_num_rows($rsStation);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta2 = "SELECT * FROM station";
                  $rsSta2 = mysql_query($query_rsSta2, $Lifeline) or die(mysql_error());
                  $row_rsSta2 = mysql_fetch_assoc($rsSta2);
                  $totalRows_rsSta2 = mysql_num_rows($rsSta2);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta3 = "SELECT * FROM station";
                  $rsSta3 = mysql_query($query_rsSta3, $Lifeline) or die(mysql_error());
                  $row_rsSta3 = mysql_fetch_assoc($rsSta3);
                  $totalRows_rsSta3 = mysql_num_rows($rsSta3);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta4 = "SELECT * FROM station";
                  $rsSta4 = mysql_query($query_rsSta4, $Lifeline) or die(mysql_error());
                  $row_rsSta4 = mysql_fetch_assoc($rsSta4);
                  $totalRows_rsSta4 = mysql_num_rows($rsSta4);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta2Emp1 = "SELECT * FROM employees";
                  $rsSta2Emp1 = mysql_query($query_rsSta2Emp1, $Lifeline) or die(mysql_error());
                  $row_rsSta2Emp1 = mysql_fetch_assoc($rsSta2Emp1);
                  $totalRows_rsSta2Emp1 = mysql_num_rows($rsSta2Emp1);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta2Emp2 = "SELECT * FROM employees";
                  $rsSta2Emp2 = mysql_query($query_rsSta2Emp2, $Lifeline) or die(mysql_error());
                  $row_rsSta2Emp2 = mysql_fetch_assoc($rsSta2Emp2);
                  $totalRows_rsSta2Emp2 = mysql_num_rows($rsSta2Emp2);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta3Emp1 = "SELECT * FROM employees";
                  $rsSta3Emp1 = mysql_query($query_rsSta3Emp1, $Lifeline) or die(mysql_error());
                  $row_rsSta3Emp1 = mysql_fetch_assoc($rsSta3Emp1);
                  $totalRows_rsSta3Emp1 = mysql_num_rows($rsSta3Emp1);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta3Emp2 = "SELECT * FROM employees";
                  $rsSta3Emp2 = mysql_query($query_rsSta3Emp2, $Lifeline) or die(mysql_error());
                  $row_rsSta3Emp2 = mysql_fetch_assoc($rsSta3Emp2);
                  $totalRows_rsSta3Emp2 = mysql_num_rows($rsSta3Emp2);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta4Emp1 = "SELECT * FROM employees";
                  $rsSta4Emp1 = mysql_query($query_rsSta4Emp1, $Lifeline) or die(mysql_error());
                  $row_rsSta4Emp1 = mysql_fetch_assoc($rsSta4Emp1);
                  $totalRows_rsSta4Emp1 = mysql_num_rows($rsSta4Emp1);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta4Emp2 = "SELECT * FROM employees";
                  $rsSta4Emp2 = mysql_query($query_rsSta4Emp2, $Lifeline) or die(mysql_error());
                  $row_rsSta4Emp2 = mysql_fetch_assoc($rsSta4Emp2);
                  $totalRows_rsSta4Emp2 = mysql_num_rows($rsSta4Emp2);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta3Emp1Reason = "SELECT * FROM reasons";
                  $rsSta3Emp1Reason = mysql_query($query_rsSta3Emp1Reason, $Lifeline) or die(mysql_error());
                  $row_rsSta3Emp1Reason = mysql_fetch_assoc($rsSta3Emp1Reason);
                  $totalRows_rsSta3Emp1Reason = mysql_num_rows($rsSta3Emp1Reason);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta3Emp2Reason = "SELECT * FROM reasons";
                  $rsSta3Emp2Reason = mysql_query($query_rsSta3Emp2Reason, $Lifeline) or die(mysql_error());
                  $row_rsSta3Emp2Reason = mysql_fetch_assoc($rsSta3Emp2Reason);
                  $totalRows_rsSta3Emp2Reason = mysql_num_rows($rsSta3Emp2Reason);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta4Emp1Reason = "SELECT * FROM reasons";
                  $rsSta4Emp1Reason = mysql_query($query_rsSta4Emp1Reason, $Lifeline) or die(mysql_error());
                  $row_rsSta4Emp1Reason = mysql_fetch_assoc($rsSta4Emp1Reason);
                  $totalRows_rsSta4Emp1Reason = mysql_num_rows($rsSta4Emp1Reason);

                  mysql_select_db($database_Lifeline, $Lifeline);
                  $query_rsSta4Emp2Reason = "SELECT * FROM reasons";
                  $rsSta4Emp2Reason = mysql_query($query_rsSta4Emp2Reason, $Lifeline) or die(mysql_error());
                  $row_rsSta4Emp2Reason = mysql_fetch_assoc($rsSta4Emp2Reason);
                  $totalRows_rsSta4Emp2Reason = mysql_num_rows($rsSta4Emp2Reason);
                  • 6. Re: head tag locked
                    Parabuck Level 1
                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsSta1Emp1Reason = "SELECT * FROM reasons";
                    $rsSta1Emp1Reason = mysql_query($query_rsSta1Emp1Reason, $Lifeline) or die(mysql_error());
                    $row_rsSta1Emp1Reason = mysql_fetch_assoc($rsSta1Emp1Reason);
                    $totalRows_rsSta1Emp1Reason = mysql_num_rows($rsSta1Emp1Reason);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsSta1Emp2Reason = "SELECT * FROM reasons";
                    $rsSta1Emp2Reason = mysql_query($query_rsSta1Emp2Reason, $Lifeline) or die(mysql_error());
                    $row_rsSta1Emp2Reason = mysql_fetch_assoc($rsSta1Emp2Reason);
                    $totalRows_rsSta1Emp2Reason = mysql_num_rows($rsSta1Emp2Reason);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsSta2Emp1Reason = "SELECT * FROM reasons";
                    $rsSta2Emp1Reason = mysql_query($query_rsSta2Emp1Reason, $Lifeline) or die(mysql_error());
                    $row_rsSta2Emp1Reason = mysql_fetch_assoc($rsSta2Emp1Reason);
                    $totalRows_rsSta2Emp1Reason = mysql_num_rows($rsSta2Emp1Reason);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsSta2Emp2Reason = "SELECT * FROM reasons";
                    $rsSta2Emp2Reason = mysql_query($query_rsSta2Emp2Reason, $Lifeline) or die(mysql_error());
                    $row_rsSta2Emp2Reason = mysql_fetch_assoc($rsSta2Emp2Reason);
                    $totalRows_rsSta2Emp2Reason = mysql_num_rows($rsSta2Emp2Reason);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsSta3Emp1Hours = "SELECT * FROM calendar";
                    $rsSta3Emp1Hours = mysql_query($query_rsSta3Emp1Hours, $Lifeline) or die(mysql_error());
                    $row_rsSta3Emp1Hours = mysql_fetch_assoc($rsSta3Emp1Hours);
                    $totalRows_rsSta3Emp1Hours = mysql_num_rows($rsSta3Emp1Hours);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsStation1 = "SELECT * FROM station WHERE StationName = 'Station 1'";
                    $rsStation1 = mysql_query($query_rsStation1, $Lifeline) or die(mysql_error());
                    $row_rsStation1 = mysql_fetch_assoc($rsStation1);
                    $totalRows_rsStation1 = mysql_num_rows($rsStation1);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsStation2 = "SELECT * FROM station WHERE StationName = 'Station 2'";
                    $rsStation2 = mysql_query($query_rsStation2, $Lifeline) or die(mysql_error());
                    $row_rsStation2 = mysql_fetch_assoc($rsStation2);
                    $totalRows_rsStation2 = mysql_num_rows($rsStation2);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsStation3 = "SELECT * FROM station WHERE StationName = 'Event Center'";
                    $rsStation3 = mysql_query($query_rsStation3, $Lifeline) or die(mysql_error());
                    $row_rsStation3 = mysql_fetch_assoc($rsStation3);
                    $totalRows_rsStation3 = mysql_num_rows($rsStation3);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsStation4 = "SELECT * FROM station WHERE StationName = 'Day Car'";
                    $rsStation4 = mysql_query($query_rsStation4, $Lifeline) or die(mysql_error());
                    $row_rsStation4 = mysql_fetch_assoc($rsStation4);
                    $totalRows_rsStation4 = mysql_num_rows($rsStation4);

                    mysql_select_db($database_Lifeline, $Lifeline);
                    $query_rsEventName = "SELECT * FROM events ORDER BY EventName ASC";
                    $rsEventName = mysql_query($query_rsEventName, $Lifeline) or die(mysql_error());
                    $row_rsEventName = mysql_fetch_assoc($rsEventName);
                    $totalRows_rsEventName = mysql_num_rows($rsEventName);
                    ?>

                    <?php include('heading.php'); ?>

                    <head>

                    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
                    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
                    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css">
                    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">

                    </head>

                    • 7. Re: head tag locked
                      Parabuck Level 1
                      <body>
                      <form method="post" name="addCalendar" action="<?php echo $editFormAction; ?>">
                      <table bgcolor="#CCCCCC" align="center" class="tableborder" cellpadding="5" cellspacing="0">
                      <tr>
                      <td colspan="9" nowrap align="left"><input type="hidden" name="CalendarID" value="" size="32"></td>
                      </tr>
                      <tr>
                      <td nowrap align="center" colspan="9"><span class="style8"><strong>Date:</strong>
                      <input name="CalDate" type="text" tabindex="1" size="32"></span>
                      <span class="small">format: yyyy-mm-dd</span></td>
                      </tr>
                      <tr>
                      <td nowrap align="right" colspan="9"><hr></td>
                      </tr>
                      <tr>
                      <td nowrap align="right"><span style="font-size: 12; font-weight: bold"><em>Station:</em></span></td>
                      <td colspan="3"><span id="spryselect3">
                      <select name="CalStation" id="CalStation" tabindex="2">
                      <option value="" <?php if (!(strcmp("", $row_rsStation1['StationName']))) {echo "selected=\"selected\"";} ?>>Please Select</option>
                      <?php
                      do {
                      ?><option value="<?php echo $row_rsStation['StationName']?>"<?php if (!(strcmp($row_rsStation['StationName'], $row_rsStation1['StationName']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsStation['StationName']?></option>
                      <?php
                      } while ($row_rsStation = mysql_fetch_assoc($rsStation));
                      $rows = mysql_num_rows($rsStation);
                      if($rows > 0) {
                      mysql_data_seek($rsStation, 0);
                      $row_rsStation = mysql_fetch_assoc($rsStation);
                      }
                      ?>
                      </select>
                      <span class="selectRequiredMsg">Please select an item.</span></span></td>
                      <td> </td>
                      <td align="right"><span class="style4">Station:</span></td>
                      <td colspan="3"><select name="CalSta2" id="CalSta2" tabindex="9">
                      <option value="" <?php if (!(strcmp("", $row_rsStation2['StationName']))) {echo "selected=\"selected\"";} ?>>Please Select</option>
                      <?php
                      do {
                      ?><option value="<?php echo $row_rsSta2['StationName']?>"<?php if (!(strcmp($row_rsSta2['StationName'], $row_rsStation2['StationName']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsSta2['StationName']?></option>
                      <?php
                      } while ($row_rsSta2 = mysql_fetch_assoc($rsSta2));
                      $rows = mysql_num_rows($rsSta2);
                      if($rows > 0) {
                      mysql_data_seek($rsSta2, 0);
                      $row_rsSta2 = mysql_fetch_assoc($rsSta2);
                      }
                      ?>
                      </select></td>
                      </tr>
                      <tr>
                      <td nowrap align="right"><span class="style8" style="font-weight: bold"><em>Medic / EMT:</em></span></td>
                      <td><span id="spryselect1"><span class="selectRequiredMsg">Please select an item.</span></span>
                      <select name="CalEmp1" id="CalEmp1" tabindex="3">
                      <option value=""><strong>Please Select</strong></option>
                      <option value="Open shift**">Open Shift**</option>
                      <?php
                      do {
                      ?><option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option><?php
                      } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                      $rows = mysql_num_rows($calEmployee);
                      if($rows > 0) {
                      mysql_data_seek($calEmployee, 0);
                      $row_calEmployee = mysql_fetch_assoc($calEmployee);
                      }
                      ?>
                      </select></td>
                      <td> </td>
                      <td align="right"><strong><em>Hours:</em></strong>
                      <input type="text" name="Emp1Hours" value="24" size="7" tabindex="4"></td>
                      <td> </td>
                      <td align="right"><span class="style4">Medic / EMT:</span></td>
                      <td><select name="Sta2Emp1" id="Sta2Emp1" tabindex="10">
                      <option value=""><strong>Please Select</strong></option>
                      <option value="Open shift**">Open Shift**</option>
                      <?php
                      do {
                      ?>
                      <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                      <?php
                      } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                      $rows = mysql_num_rows($calEmployee);
                      if($rows > 0) {
                      mysql_data_seek($calEmployee, 0);
                      $row_calEmployee = mysql_fetch_assoc($calEmployee);
                      }
                      ?>
                      </select></td>
                      <td> </td>
                      <td align="right"><strong><em>Hours:</em></strong>
                      <input name="Sta2Emp1Hours" type="text" id="Sta2Emp1Hours" value="24" size="7" tabindex="11"></td>
                      </tr>
                      <tr>
                      <td nowrap align="right"> </td>
                      <td colspan="3" align="right"><select name="Sta1Emp1Reason" id="Sta1Emp1Reason" tabindex="5">
                      <option value="">Please Select</option>
                      <?php
                      do {
                      ?>
                      <option value="<?php echo $row_rsSta1Emp1Reason['Reason']?>"><?php echo $row_rsSta1Emp1Reason['ReasonID']?> - <?php echo $row_rsSta1Emp1Reason['Reason']?></option>
                      <?php
                      } while ($row_rsSta1Emp1Reason = mysql_fetch_assoc($rsSta1Emp1Reason));
                      $rows = mysql_num_rows($rsSta1Emp1Reason);
                      if($rows > 0) {
                      mysql_data_seek($rsSta1Emp1Reason, 0);
                      $row_rsSta1Emp1Reason = mysql_fetch_assoc($rsSta1Emp1Reason);
                      }
                      ?>
                      </select></td>
                      <td> </td>
                      <td> </td>
                      <td colspan="3" align="right"><select name="Sta2Emp1Reason" id="Sta2Emp1Reason" tabindex="12">
                      <option value="">Please Select</option>
                      <?php
                      do {
                      ?>
                      <option value="<?php echo $row_rsSta2Emp1Reason['Reason']?>"><?php echo $row_rsSta2Emp1Reason['ReasonID']?> - <?php echo $row_rsSta2Emp1Reason['Reason']?></option>
                      <?php
                      } while ($row_rsSta2Emp1Reason = mysql_fetch_assoc($rsSta2Emp1Reason));
                      $rows = mysql_num_rows($rsSta2Emp1Reason);
                      if($rows > 0) {
                      mysql_data_seek($rsSta2Emp1Reason, 0);
                      $row_rsSta2Emp1Reason = mysql_fetch_assoc($rsSta2Emp1Reason);
                      }
                      ?>
                      </select></td>
                      </tr>
                      • 8. Re: head tag locked
                        Parabuck Level 1
                        <tr>
                        <td nowrap align="right"><span class="style8" style="font-weight: bold"><em> EMT:</em></span></td>
                        <td><span id="spryselect2">
                        <select name="CalEmp2" id="CalEmp2" tabindex="6">
                        <option value="">Please Select</option>
                        <option value="Open Shift**">Open Shift**</option>
                        <?php
                        do {
                        ?>
                        <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                        <?php
                        } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                        $rows = mysql_num_rows($calEmployee);
                        if($rows > 0) {
                        mysql_data_seek($calEmployee, 0);
                        $row_calEmployee = mysql_fetch_assoc($calEmployee);
                        }
                        ?>
                        </select>
                        <span class="selectRequiredMsg">Please select an item.</span></span></td>
                        <td> </td>
                        <td align="right"><strong><em>Hours:</em></strong>
                        <input type="text" name="Emp2Hours" value="24" size="7" tabindex="7"></td>
                        <td> </td>
                        <td align="right"><span class="style4">EMT:</span></td>
                        <td><select name="Sta2Emp2" id="Sta2Emp2" tabindex="13">
                        <option value="">Please Select</option>
                        <option value="Open Shift**">Open Shift**</option>
                        <?php
                        do {
                        ?>
                        <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                        <?php
                        } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                        $rows = mysql_num_rows($calEmployee);
                        if($rows > 0) {
                        mysql_data_seek($calEmployee, 0);
                        $row_calEmployee = mysql_fetch_assoc($calEmployee);
                        }
                        ?>
                        </select></td>
                        <td> </td>
                        <td align="right"><strong><em>Hours:</em></strong>
                        <input name="Sta2Emp2Hours" type="text" id="Sta2Emp2Hours" value="24" size="7" tabindex="14"></td>
                        </tr>
                        <tr>
                        <td nowrap align="right"> </td>
                        <td colspan="3" align="right"><select name="Sta1Emp2Reason" id="Sta1Emp2Reason" tabindex="8">
                        <option value="">Please Select</option>
                        <?php
                        do {
                        ?>
                        <option value="<?php echo $row_rsSta1Emp2Reason['Reason']?>"><?php echo $row_rsSta1Emp2Reason['ReasonID']?> - <?php echo $row_rsSta1Emp2Reason['Reason']?></option>
                        <?php
                        } while ($row_rsSta1Emp2Reason = mysql_fetch_assoc($rsSta1Emp2Reason));
                        $rows = mysql_num_rows($rsSta1Emp2Reason);
                        if($rows > 0) {
                        mysql_data_seek($rsSta1Emp2Reason, 0);
                        $row_rsSta1Emp2Reason = mysql_fetch_assoc($rsSta1Emp2Reason);
                        }
                        ?>
                        </select></td>
                        <td> </td>
                        <td> </td>
                        <td colspan="3" align="right"><select name="Sta2Emp2Reason" id="Sta2Emp2Reason" tabindex="15">
                        <option value="">Please Select</option>
                        <?php
                        do {
                        ?>
                        <option value="<?php echo $row_rsSta2Emp2Reason['Reason']?>"><?php echo $row_rsSta2Emp2Reason['ReasonID']?> - <?php echo $row_rsSta2Emp2Reason['Reason']?></option>
                        <?php
                        } while ($row_rsSta2Emp2Reason = mysql_fetch_assoc($rsSta2Emp2Reason));
                        $rows = mysql_num_rows($rsSta2Emp2Reason);
                        if($rows > 0) {
                        mysql_data_seek($rsSta2Emp2Reason, 0);
                        $row_rsSta2Emp2Reason = mysql_fetch_assoc($rsSta2Emp2Reason);
                        }
                        ?>
                        </select></td>
                        </tr>
                        <tr valign="baseline">
                        <td nowrap align="right" colspan="9"><hr></td>
                        </tr>
                        <tr>
                        <td nowrap align="right"><span class="style8" style="font-weight: bold"><em>Station:</em></span></td>
                        <td align="left"><select name="CalSta3" id="CalSta3" tabindex="16">
                        <option value="" <?php if (!(strcmp("", $row_rsStation3['StationName']))) {echo "selected=\"selected\"";} ?>>Please Select</option>
                        <?php
                        do {
                        ?><option value="<?php echo $row_rsSta3['StationName']?>"<?php if (!(strcmp($row_rsSta3['StationName'], $row_rsStation3['StationName']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsSta3['StationName']?></option>
                        <?php
                        } while ($row_rsSta3 = mysql_fetch_assoc($rsSta3));
                        $rows = mysql_num_rows($rsSta3);
                        if($rows > 0) {
                        mysql_data_seek($rsSta3, 0);
                        $row_rsSta3 = mysql_fetch_assoc($rsSta3);
                        }
                        ?>
                        </select></td>
                        <td align="right"> </td>
                        <td align="right"> </td>
                        <td align="right"> </td>
                        <td align="right"><span class="style4">Station:</span></td>
                        <td align="left"><select name="CalSta4" id="CalSta4" tabindex="26">
                        <option value="" <?php if (!(strcmp("", $row_rsStation4['StationName']))) {echo "selected=\"selected\"";} ?>>Please Select</option>
                        <?php
                        do {
                        ?>
                        <option value="<?php echo $row_rsSta4['StationName']?>"<?php if (!(strcmp($row_rsSta4['StationName'], $row_rsStation4['StationName']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsSta4['StationName']?></option>
                        <?php
                        } while ($row_rsSta4 = mysql_fetch_assoc($rsSta4));
                        $rows = mysql_num_rows($rsSta4);
                        if($rows > 0) {
                        mysql_data_seek($rsSta4, 0);
                        $row_rsSta4 = mysql_fetch_assoc($rsSta4);
                        }
                        ?>
                        </select></td>
                        <td></td>
                        <td></td>
                        • 9. Re: head tag locked
                          Parabuck Level 1
                          </tr>
                          <tr>
                          <td nowrap align="right"><span style="font-weight: bold; font-style: italic">Event Type:</span></td>
                          <td align="left">
                          <select name="CalEventName" id="CalEventName" tabindex="17">
                          <option value="">Please Select</option>
                          <?php
                          do {
                          ?>
                          <option value="<?php echo $row_rsEventName['EventName']?>"><?php echo $row_rsEventName['EventName']?></option>
                          <?php
                          } while ($row_rsEventName = mysql_fetch_assoc($rsEventName));
                          $rows = mysql_num_rows($rsEventName);
                          if($rows > 0) {
                          mysql_data_seek($rsEventName, 0);
                          $row_rsEventName = mysql_fetch_assoc($rsEventName);
                          }
                          ?>
                          </select></td>
                          <td colspan="2" align="right"><strong><em><span style="font-style: italic"><strong><em><strong><em>Start<span class="style10">*</span>:
                          <input name="Sta3StartTime" type="text" id="Sta3StartTime" size="7" tabindex="18">
                          </em>  Stop<span class="style10">*</span>:</strong></em>
                          <input name="Sta3StopTime" type="text" id="Sta3StopTime" size="7" tabindex="19">
                          </strong></span></em></strong></td>
                          <td align="right"> </td>
                          <td></td>
                          <td colspan="3" align="right"><strong><em>Start<span class="style10">*</span>:
                          <input name="Sta4StartTime" type="text" id="Sta4StartTime" tabindex="27" value="10:00" size="7">
                          <span style="font-style: italic"><strong>  Stop<span class="style10">*</span>:
                          <input name="Sta4StopTime" type="text" id="Sta4StopTime" tabindex="28" value="18:00" size="7">
                          </strong></span></em></strong></td>
                          </tr>

                          <tr>
                          <td nowrap align="right"><span class="style8" style="font-weight: bold"><em>Medic / EMT:</em></span></td>
                          <td align="left"><select name="Sta3Emp1" id="Sta3Emp1" tabindex="20">
                          <option value=""><strong>Please Select</strong></option>
                          <option value="Open shift**">Open Shift**</option>
                          <?php
                          do {
                          ?>
                          <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                          <?php
                          } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                          $rows = mysql_num_rows($calEmployee);
                          if($rows > 0) {
                          mysql_data_seek($calEmployee, 0);
                          $row_calEmployee = mysql_fetch_assoc($calEmployee);
                          }
                          ?>
                          </select></td>
                          <td> </td>
                          <td align="right"><strong><em>Hours:</em></strong>
                          <input name="Sta3Emp1Hours" type="text" id="Sta3Emp1Hours" value="0" size="7" tabindex="21"></td>
                          <td> </td>
                          <td align="right"><span class="style4">Medic / EMT:</span></td>
                          <td align="left"><select name="Sta4Emp1" id="Sta4Emp1" tabindex="29">
                          <option value=""><strong>Please Select</strong></option>
                          <option value="Open shift**">Open Shift**</option>
                          <?php
                          do {
                          ?>
                          <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                          <?php
                          } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                          $rows = mysql_num_rows($calEmployee);
                          if($rows > 0) {
                          mysql_data_seek($calEmployee, 0);
                          $row_calEmployee = mysql_fetch_assoc($calEmployee);
                          }
                          ?>
                          </select></td>
                          <td> </td>
                          <td align="right"><strong><em>Hours:</em></strong>
                          <input name="Sta4Emp1Hours" type="text" id="Sta4Emp1Hours" value="0" size="7" tabindex="30"></td>
                          </tr>
                          <tr>
                          <td nowrap align="right"> </td>
                          <td align="right"> </td>
                          <td colspan="2" align="right"><select name="Sta3Emp1Reason" id="Sta3Emp1Reason" tabindex="22">
                          <option value="">Please Select</option>
                          <?php
                          do {
                          ?>
                          <option value="<?php echo $row_rsSta3Emp1Reason['Reason']?>"><?php echo $row_rsSta3Emp1Reason['ReasonID']?> - <?php echo $row_rsSta3Emp1Reason['Reason']?></option>
                          <?php
                          } while ($row_rsSta3Emp1Reason = mysql_fetch_assoc($rsSta3Emp1Reason));
                          $rows = mysql_num_rows($rsSta3Emp1Reason);
                          if($rows > 0) {
                          mysql_data_seek($rsSta3Emp1Reason, 0);
                          $row_rsSta3Emp1Reason = mysql_fetch_assoc($rsSta3Emp1Reason);
                          }
                          ?>
                          </select></td>
                          <td> </td>
                          <td> </td>
                          <td> </td>
                          <td colspan="2" align="right"><select name="Sta4Emp1Reason" id="Sta4Emp1Reason" tabindex="31">
                          <option value="">Please Select</option>
                          <?php
                          do {
                          ?><option value="<?php echo $row_rsSta4Emp1Reason['Reason']?>"><?php echo $row_rsSta4Emp1Reason['ReasonID']?> - <?php echo $row_rsSta4Emp1Reason['Reason']?></option><?php
                          } while ($row_rsSta4Emp1Reason = mysql_fetch_assoc($rsSta4Emp1Reason));
                          $rows = mysql_num_rows($rsSta4Emp1Reason);
                          if($rows > 0) {
                          mysql_data_seek($rsSta4Emp1Reason, 0);
                          $row_rsSta4Emp1Reason = mysql_fetch_assoc($rsSta4Emp1Reason);
                          }
                          ?>
                          </select></td>
                          </tr>
                          <tr>
                          <td nowrap align="right"><span class="style8" style="font-weight: bold"><em>EMT:</em></span></td>
                          <td><select name="Sta3Emp2" id="Sta3Emp2" tabindex="23">
                          <option value="">Please Select</option>
                          <option value="Open Shift**">Open Shift**</option>
                          <?php
                          do {
                          ?>
                          <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                          <?php
                          } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                          $rows = mysql_num_rows($calEmployee);
                          if($rows > 0) {
                          mysql_data_seek($calEmployee, 0);
                          $row_calEmployee = mysql_fetch_assoc($calEmployee);
                          }
                          ?>
                          </select></td>
                          <td> </td>
                          <td align="right"><strong><em>Hours:</em></strong>
                          <input name="Sta3Emp2Hours" type="text" id="Sta3Emp2Hours" tabindex="24" value="0" size="7"></td>
                          <td> </td>
                          <td align="right"><span class="style4">EMT:</span></td>
                          <td><select name="Sta4Emp2" id="Sta4Emp2" tabindex="32">
                          <option value="">Please Select</option>
                          <option value="Open Shift**">Open Shift**</option>
                          <?php
                          do {
                          ?>
                          <option value="<?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?>"><?php echo $row_calEmployee['EmpName']?> <?php echo $row_calEmployee['LastName']; ?></option>
                          <?php
                          } while ($row_calEmployee = mysql_fetch_assoc($calEmployee));
                          $rows = mysql_num_rows($calEmployee);
                          if($rows > 0) {
                          mysql_data_seek($calEmployee, 0);
                          $row_calEmployee = mysql_fetch_assoc($calEmployee);
                          }
                          ?>
                          </select></td>
                          <td> </td>
                          <td align="right"><strong><em>Hours:</em></strong>
                          <input name="Sta4Emp2Hours" type="text" id="Sta4Emp2Hours" value="0" size="7" tabindex="33"></td>
                          </tr>
                          • 10. Re: head tag locked
                            Parabuck Level 1
                            <tr>
                            <td nowrap align="right"> </td>
                            <td colspan="3" align="right"><select name="Sta3Emp2Reason" id="Sta3Emp2Reason" tabindex="25">
                            <option value="">Please Select</option>
                            <?php
                            do {
                            ?>
                            <option value="<?php echo $row_rsSta3Emp2Reason['Reason']?>"><?php echo $row_rsSta3Emp2Reason['ReasonID']?> - <?php echo $row_rsSta3Emp2Reason['Reason']?></option>
                            <?php
                            } while ($row_rsSta3Emp2Reason = mysql_fetch_assoc($rsSta3Emp2Reason));
                            $rows = mysql_num_rows($rsSta3Emp2Reason);
                            if($rows > 0) {
                            mysql_data_seek($rsSta3Emp2Reason, 0);
                            $row_rsSta3Emp2Reason = mysql_fetch_assoc($rsSta3Emp2Reason);
                            }
                            ?>
                            </select></td>
                            <td> </td>
                            <td colspan="4" align="right"><select name="Sta4Emp2Reason" id="Sta4Emp2Reason" tabindex="34">
                            <option value="">Please Select</option>
                            <?php
                            do {
                            ?>
                            <option value="<?php echo $row_rsSta4Emp2Reason['Reason']?>"><?php echo $row_rsSta4Emp2Reason['ReasonID']?> - <?php echo $row_rsSta4Emp2Reason['Reason']?></option>
                            <?php
                            } while ($row_rsSta4Emp2Reason = mysql_fetch_assoc($rsSta4Emp2Reason));
                            $rows = mysql_num_rows($rsSta4Emp2Reason);
                            if($rows > 0) {
                            mysql_data_seek($rsSta4Emp2Reason, 0);
                            $row_rsSta4Emp2Reason = mysql_fetch_assoc($rsSta4Emp2Reason);
                            }
                            ?>
                            </select></td>
                            </tr>
                            <tr>
                            <td nowrap align="right" colspan="9"><hr></td>
                            </tr>
                            <tr>
                            <td nowrap align="right"> </td>
                            <td colspan="3" align="right"> </td>
                            <td> </td>
                            <td colspan="4" align="right"> </td>
                            </tr>
                            <tr>
                            <td nowrap align="right"> </td>
                            <td colspan="3" align="right"> </td>
                            <td> </td>
                            <td colspan="4" align="right"> </td>
                            </tr>
                            <tr>
                            <td nowrap align="right"> </td>
                            <td colspan="3" align="right"> </td>
                            <td> </td>
                            <td colspan="4" align="right"> </td>
                            </tr>
                            <tr>
                            <td nowrap align="right"> </td>
                            <td colspan="3" align="right"> </td>
                            <td> </td>
                            <td colspan="4" align="right"> </td>
                            </tr>
                            <tr>
                            <td nowrap align="right"> </td>
                            <td colspan="3" align="right"> </td>
                            <td> </td>
                            <td colspan="4" align="right"> </td>
                            </tr>
                            <tr>
                            <td nowrap align="right" colspan="9"><hr></td>
                            </tr>
                            <tr>
                            <td nowrap align="center" colspan="9"><input type="submit" value="Insert record" tabindex="35"></td>
                            </tr>
                            <tr>
                            <td nowrap align="center" colspan="9"><div align="left"><span class="style9">* Military Time (18:00)</span></div></td>
                            </tr>
                            </table>
                            <input type="hidden" name="MM_insert" value="addCalendar">
                            </form>
                            <p> </p>
                            <script type="text/javascript">
                            <!--
                            var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
                            var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
                            var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
                            //-->
                            </script>
                            </body>
                            </html><?php
                            mysql_free_result($calEmployee);

                            mysql_free_result($rsStation);

                            mysql_free_result($rsSta2);

                            mysql_free_result($rsSta3);

                            mysql_free_result($rsSta4);

                            mysql_free_result($rsSta2Emp1);

                            mysql_free_result($rsSta2Emp2);

                            mysql_free_result($rsSta3Emp1);

                            mysql_free_result($rsSta3Emp2);

                            mysql_free_result($rsSta4Emp1);

                            mysql_free_result($rsSta4Emp2);

                            mysql_free_result($rsSta3Emp1Reason);

                            mysql_free_result($rsSta3Emp2Reason);

                            mysql_free_result($rsSta4Emp1Reason);

                            mysql_free_result($rsSta4Emp2Reason);

                            mysql_free_result($rsSta1Emp1Reason);

                            mysql_free_result($rsSta1Emp2Reason);

                            mysql_free_result($rsSta2Emp1Reason);

                            mysql_free_result($rsSta2Emp2Reason);

                            mysql_free_result($rsSta3Emp1Hours);

                            mysql_free_result($rsStation1);

                            mysql_free_result($rsStation2);

                            mysql_free_result($rsStation3);

                            mysql_free_result($rsStation4);

                            mysql_free_result($rsEventName);
                            ?>

                            <SCRIPT TYPE="text/javascript">
                            <!--
                            document.addCalendar.CalDate.focus();
                            //-->
                            </SCRIPT>
                            • 11. Re: head tag locked
                              Level 7
                              I'm assuming that the doctype and <html> tags are in this include - is that
                              correct?

                              ?>

                              <?php include('heading.php'); ?>

                              <head>

                              If so, you are not going to find DW to be very happy about working on that
                              page.

                              --
                              Murray --- ICQ 71997575
                              Adobe Community Expert
                              (If you *MUST* email me, don't LAUGH when you do so!)
                              ==================
                              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                              ==================


                              "Parabuck" <webforumsuser@macromedia.com> wrote in message
                              news:gfhtfj$qdo$1@forums.macromedia.com...
                              > <tr>
                              > <td nowrap align="right"> </td>
                              > <td colspan="3" align="right"><select name="Sta3Emp2Reason"
                              > id="Sta3Emp2Reason" tabindex="25">
                              > <option value="">Please Select</option>
                              > <?php
                              > do {
                              > ?>
                              > <option value="<?php echo $row_rsSta3Emp2Reason['Reason']?>"><?php
                              > echo $row_rsSta3Emp2Reason['ReasonID']?> - <?php echo
                              > $row_rsSta3Emp2Reason['Reason']?></option>
                              > <?php
                              > } while ($row_rsSta3Emp2Reason = mysql_fetch_assoc($rsSta3Emp2Reason));
                              > $rows = mysql_num_rows($rsSta3Emp2Reason);
                              > if($rows > 0) {
                              > mysql_data_seek($rsSta3Emp2Reason, 0);
                              > $row_rsSta3Emp2Reason = mysql_fetch_assoc($rsSta3Emp2Reason);
                              > }
                              > ?>
                              > </select></td>
                              > <td> </td>
                              > <td colspan="4" align="right"><select name="Sta4Emp2Reason"
                              > id="Sta4Emp2Reason" tabindex="34">
                              > <option value="">Please Select</option>
                              > <?php
                              > do {
                              > ?>
                              > <option value="<?php echo $row_rsSta4Emp2Reason['Reason']?>"><?php
                              > echo $row_rsSta4Emp2Reason['ReasonID']?> - <?php echo
                              > $row_rsSta4Emp2Reason['Reason']?></option>
                              > <?php
                              > } while ($row_rsSta4Emp2Reason = mysql_fetch_assoc($rsSta4Emp2Reason));
                              > $rows = mysql_num_rows($rsSta4Emp2Reason);
                              > if($rows > 0) {
                              > mysql_data_seek($rsSta4Emp2Reason, 0);
                              > $row_rsSta4Emp2Reason = mysql_fetch_assoc($rsSta4Emp2Reason);
                              > }
                              > ?>
                              > </select></td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right" colspan="9">
                              </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right"> </td>
                              > <td colspan="3" align="right"> </td>
                              > <td> </td>
                              > <td colspan="4" align="right"> </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right"> </td>
                              > <td colspan="3" align="right"> </td>
                              > <td> </td>
                              > <td colspan="4" align="right"> </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right"> </td>
                              > <td colspan="3" align="right"> </td>
                              > <td> </td>
                              > <td colspan="4" align="right"> </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right"> </td>
                              > <td colspan="3" align="right"> </td>
                              > <td> </td>
                              > <td colspan="4" align="right"> </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right"> </td>
                              > <td colspan="3" align="right"> </td>
                              > <td> </td>
                              > <td colspan="4" align="right"> </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="right" colspan="9">
                              </td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="center" colspan="9"><input type="submit"
                              > value="Insert
                              > record" tabindex="35"></td>
                              > </tr>
                              > <tr>
                              > <td nowrap align="center" colspan="9"><div align="left"><span
                              > class="style9">* Military Time (18:00)</span></div></td>
                              > </tr>
                              > </table>
                              > <input type="hidden" name="MM_insert" value="addCalendar">
                              > </form>
                              > <p> </p>
                              > <script type="text/javascript">
                              > <!--
                              > var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
                              > var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
                              > var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
                              > //-->
                              > </script>
                              > </body>
                              > </html><?php
                              > mysql_free_result($calEmployee);
                              >
                              > mysql_free_result($rsStation);
                              >
                              > mysql_free_result($rsSta2);
                              >
                              > mysql_free_result($rsSta3);
                              >
                              > mysql_free_result($rsSta4);
                              >
                              > mysql_free_result($rsSta2Emp1);
                              >
                              > mysql_free_result($rsSta2Emp2);
                              >
                              > mysql_free_result($rsSta3Emp1);
                              >
                              > mysql_free_result($rsSta3Emp2);
                              >
                              > mysql_free_result($rsSta4Emp1);
                              >
                              > mysql_free_result($rsSta4Emp2);
                              >
                              > mysql_free_result($rsSta3Emp1Reason);
                              >
                              > mysql_free_result($rsSta3Emp2Reason);
                              >
                              > mysql_free_result($rsSta4Emp1Reason);
                              >
                              > mysql_free_result($rsSta4Emp2Reason);
                              >
                              > mysql_free_result($rsSta1Emp1Reason);
                              >
                              > mysql_free_result($rsSta1Emp2Reason);
                              >
                              > mysql_free_result($rsSta2Emp1Reason);
                              >
                              > mysql_free_result($rsSta2Emp2Reason);
                              >
                              > mysql_free_result($rsSta3Emp1Hours);
                              >
                              > mysql_free_result($rsStation1);
                              >
                              > mysql_free_result($rsStation2);
                              >
                              > mysql_free_result($rsStation3);
                              >
                              > mysql_free_result($rsStation4);
                              >
                              > mysql_free_result($rsEventName);
                              > ?>
                              >
                              > <SCRIPT TYPE="text/javascript">
                              > <!--
                              > document.addCalendar.CalDate.focus();
                              > //-->
                              > </SCRIPT>
                              >

                              • 12. Re: head tag locked
                                Parabuck Level 1
                                No they were not, but I made sure I put those into this document. Didn't change anything though....
                                • 13. Re: head tag locked
                                  Level 7
                                  Please just give us a link to the page so we can examine the code.

                                  --
                                  Murray --- ICQ 71997575
                                  Adobe Community Expert
                                  (If you *MUST* email me, don't LAUGH when you do so!)
                                  ==================
                                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                                  ==================


                                  "Parabuck" <webforumsuser@macromedia.com> wrote in message
                                  news:gfi29f$3dl$1@forums.macromedia.com...
                                  > No they were not, but I made sure I put those into this document. Didn't
                                  > change anything though....