How do i Insert data and files from one form to MySql using php

NatashaMac
NatashaMac used Ask the Experts™
on
Hi

I can insert data and files into my MySql Database no problem using seperate forms and seperate tables in the database but when i try to join them it doesnt work.  The code for the form is below.  any help would be great.
Thanks
Natasha
<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password 
$db_password = "********"; // provide your database password 
$database = "buildingbids"; // provide your database name 
$db_table = "ConsultantDetails"; // provide your table name
 
$db = mysql_connect($hostname, $db_user, $db_password); 
mysql_select_db($database,$db); 
?> 
<!-- InstanceBegin template="/Templates/buildingbids_Consultant.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Building Bids - Get competitive online building quotes</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
 
.style1 {
	font-family: "BankGothic Lt BT";
	font-size: 90px;
	color: #FFCC66;
}
-->
</style>
<link href="../buildingbids.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.textInput
{
border: 1px solid #ffffff;
background: #666666;
color: #ffffff;
font-size: 1.1em;
}
.textInput1
{
border: 1px solid #ffffff;
background: #999999;
color: #ffffff;
font-size: 1.1em;
}
.style2 {color: #666666}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFFFFF;
}
.style4 {
	font-size: 36px;
	font-family: "BankGothic Lt BT";
	color: #CCCCCC;
}
body {
	background-color: #666666;
}
.style9 {color: #CCCCCC}
.style10 {font-family: "BankGothic Lt BT"}
.style19 {font-size: 12px; color: #333333; }
.style23 {font-size: 40px; color: #FFFFFF; font-family: "BankGothic Lt BT"; }
.style24 {color: #FFFFFF}
.style26 {font-size: 10px; color: #333333; }
a:link {
	color: #333333;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #333333;
}
a:hover {
	text-decoration: none;
	color: #666666;
}
a:active {
	text-decoration: none;
	color: #000000;
}
.main a:link {
	color: #cccccc;
	text-decoration: none;
}
.main a:visited {
	text-decoration: none;
	color: #cccccc;
}
.main a:hover {
	text-decoration: none;
	color: #FFCC66;
}
.main a:active {
	text-decoration: none;
	color: #cccccc;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style27 {font-size: 36px;
	color: #FFCC66;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- InstanceEndEditable -->
</head>
 
<body>
<table width="100%" height="460">
  <tr>
    <td height="88"><span class="style1">Building Bids</span> <span class="style2">K</span><span class="Main style2 style4 style9"><span class="style10 style24">online building quote</span></span> </td>
  </tr>
  <tr>
    <td height="28" bgcolor="#CCCCCC" class="style2 Main"><table width="100%" height="26">
      <tr>
        <td width="11%" height="20"><span class="style19"><a href="../clientproject.html"> START A PROJECT </a> </span></td>
        <td width="11%"><span class="style19"><a href="../all_views/viewallprojects.html">VIEW ALL PROJECT</a> </span></td>
        <td width="12%"><span class="style19">FIND A CONSULTANT </span></td>
        <td width="9%"><span class="style19"><a href="../all_views/Notice_Board.html">NOTICE BOARD</a> </span></td>
        <td width="4%"><span class="style19"><a href="../all_views/FAQ.html">FAQ</a> </span></td>
        <td width="13%"><span class="style19"><a href="../all_views/contact_us.html">CONTACT US</a> </span></td>
        <td width="14%">&nbsp;</td>
        <td width="10%" class="style19"><div align="right"><a href="../all_views/index_draft.php">HOME</a></div></td>
        <td width="5%" class="style19"><div align="right"><a href="../all_views/Registration1.html">LOGIN</a></div></td>
        <td width="7%" class="style19"><div align="right"><a href="../all_views/Registration1.html">REGISTER</a></div></td>
        <td width="4%" class="style19"><div align="right">HELP </div></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="31" align="left" valign="top" bgcolor="#666666"><table width="66%">
      <tr>
        <td width="16%"><span class="main style9">Find a consultant </span></td>
        <td width="2%"><span class="style9">&brvbar;</span></td>
        <td width="23%"><span class="main style9"><a href="ConsultantDetails.html">Register as a Consultant </a></span></td>
        <td width="1%"><span class="style9">&brvbar;</span></td>
        <td width="58%"><span class="main style9"><a href="ConsultantDetails.html">Edit Contact Information </a></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#666666"><table width="100%">
      <tr>
        <td height="253" align="left" valign="top"><table width="100%">
            <tr> </tr>
          </table>
            <!-- InstanceBeginEditable name="EditRegion4" -->
<?php 
if (isset($_REQUEST['Submit'])) { 
# THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE 
$sql = "INSERT INTO $db_table(Consultantid,Type_of_Listing,Upload_Logo,Consultant_Type,BusinessName,ContactName,ContactNo,Email,Website,Phone,BusinessAddress1,BusinessAddress2,Town,Postcode,County,Country,Notification_yes,Notification_no,Username,Password,Confirm_Password,Security_Question,Security_Answer,Copyright,Terms,Privacy) values ('".mysql_real_escape_string(stripslashes($_REQUEST['']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Type_of_Listing']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Upload_Logo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Consultant_Type']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactNo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Email']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Website']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Phone']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress1']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress2']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Town']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Postcode']))."','".mysql_real_escape_string(stripslashes($_REQUEST['County']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Country']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_yes']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_no']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Username']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Confirm_Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Question']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Answer']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Copyright']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Terms']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Privacy']))."')"; 
if($result = mysql_query($sql ,$db)) { 
echo '<h1>Thank you</h1>Your Registration has been successfull'; 
} else { 
echo "ERROR: ".mysql_error(); 
} 
} else { 
?> 
           
			<p class="style27">Registeration Details for Consultants <br />
            </p>
			<form action="ConsultantDetails.php" method="post" enctype="multipart/form-data">
            <table width="84%" border="1" align="center">
              <tr>
                <td height="62" valign="top"><table width="100%">
                    <tr>
                      <td width="14%">Type of Listing </td>
                      <td width="37%"><label>
                        <select name="Type_of_Listing" onchange="">
                          <option>Gold (&euro;100 per year, limited to 1 place per category)</option>
                          <option>Silver (&euro;50 per year, limited to 5 places per category)</option>
                          <option>Standard (free)</option>
                        </select>
                      </label></td>
                      <td width="11%">Upload Logo </td>
                      <td width="38%">
					  <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
					  <input name="userfile" type="file" id="userfile">
					  <input name="upload" type="submit" class="box" id="upload" value=" Upload "> </td>
                    </tr>
                    <tr>
                      <td>Consultant Type</td>
                      <td colspan="2"><label>
                        <select name="Consultant_Type" id="Consultant" onchange="">
                          <option>None</option>
                          <option>Health and Safety Officer</option>
                          <option>Interior Designer</option>
                          <option>Landscape Designer</option>
                          <option>Architectural</option>
                          <option>Architectural Engineer</option>
                          <option>Conservation Architect</option>
                          <option>Planning Consultant</option>
                          <option>Project Manager</option>
                          <option>Structural Engineer</option>
                          <option>Mechanical Engineer</option>
                          <option>Quantity Suveyor</option>
                          <option>Traffic Consultant</option>
                          <option>Ecological Consultant</option>
                          <option>Other</option>
                        </select>
                      </label></td>
                      <td>
<?php
if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0)
{
$fileName = $_FILES['userfile']['name'];
$tmpName  = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];
 
$fp      = fopen($tmpName, 'r');
$content = fread($fp, filesize($tmpName));
$content = addslashes($content);
fclose($fp);
 
if(!get_magic_quotes_gpc())
{
    $fileName = addslashes($fileName);
}
 
include 'library/config.php';
include 'library/opendb.php';
 
$query = "INSERT INTO upload (name, size, type, content ) ".
"VALUES ('$fileName', '$fileSize', '$fileType', '$content')";
 
mysql_query($query) or die('Error, query failed'); 
include 'library/closedb.php';
 
echo "<br>File $fileName uploaded<br>";
} 
?> </td>
                    </tr>
                  </table>
                    <div align="right"></div></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center" bordercolor="#999999">
              <tr>
                <td width="33%" height="226"><table width="99%">
                    <tr>
                      <td width="37%" height="34"><label>Business Name </label></td>
                      <td width="63%"><input name="BusinessName" type="text" id="BusinessName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="37"><label>Contact name</label></td>
                      <td><input name="ContactName" type="text" id="ContactName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="38">Contact Number </td>
                      <td><input name="ContactNo" type="text" id="ContactNo" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="32">Email</td>
                      <td><label>
                      <input name="Email" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="38">Website</td>
                      <td><label>
                        <input name="Website" type="text" id="Website" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>Phone</td>
                      <td><label>
                        <input name="Phone" type="text" size="30" />
                      </label></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="102%" height="216">
                    <tr>
                      <td width="31%" height="34"><label>Business Address1 </label></td>
                      <td width="69%"><input name="BusinessAddress1" type="text" id="BusinessAddress1" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="34"><label>Business Address2</label>
                          <label></label></td>
                      <td><input name="BusinessAddress2" type="text" id="BusinessAddress2" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="30"><label>Town/City</label></td>
                      <td><input name="Town" type="text" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="33">Postcode</td>
                      <td><label>
                        <input name="Postcode" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="30">County</td>
                      <td><select name="County" onchange="">
                          <option>Antrim</option>
                          <option>Armagh</option>
                          <option>carlow</option>
                          <option >Cavan</option>
                          <option >Clare</option>
                          <option >Cork</option>
                          <option >Derry</option>
                          <option >Donegal</option>
                          <option >Down</option>
                          <option >Dublin</option>
                          <option >Fermanagh</option>
                          <option >Galway</option>
                          <option >Kerry</option>
                          <option >Kildare</option>
                          <option >Kilkenny</option>
                          <option >Laois</option>
                          <option >Leitrim</option>
                          <option >Limerick</option>
                          <option >Longford</option>
                          <option >Louth</option>
                          <option >Mayo</option>
                          <option >Meath</option>
                          <option >Monaghan</option>
                          <option >Offaly</option>
                          <option >Roscommon</option>
                          <option >Sligo</option>
                          <option >Tipperary</option>
                          <option >Tyrone</option>
                          <option >Waterford</option>
                          <option >Westmeath</option>
                          <option >Wexford</option>
                          <option >Wicklow</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="39">Country</td>
                      <td><select name="Country" onchange="">
                          <option selected="selected">Ireland</option>
                          <option value="Afganistan">Afghanistan</option>
                          <option value="Albania">Albania</option>
                          <option value="Algeria">Algeria</option>
                          <option value="American Samoa">American Samoa</option>
                          <option value="Andorra">Andorra</option>
                          <option value="Angola">Angola</option>
                          <option value="Anguilla">Anguilla</option>
                          <option value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</option>
                          <option value="Argentina">Argentina</option>
                          <option value="Armenia">Armenia</option>
                          <option value="Aruba">Aruba</option>
                          <option value="Australia">Australia</option>
                          <option value="Austria">Austria</option>
                          <option value="Azerbaijan">Azerbaijan</option>
                          <option value="Bahamas">Bahamas</option>
                          <option value="Bahrain">Bahrain</option>
                          <option value="Bangladesh">Bangladesh</option>
                          <option value="Barbados">Barbados</option>
                          <option value="Belarus">Belarus</option>
                          <option value="Belgium">Belgium</option>
                          <option value="Belize">Belize</option>
                          <option value="Benin">Benin</option>
                          <option value="Bermuda">Bermuda</option>
                          <option value="Bhutan">Bhutan</option>
                          <option value="Bolivia">Bolivia</option>
                          <option value="Bonaire">Bonaire</option>
                          <option value="Bosnia &amp; Herzegovina">Bosnia &amp; Herzegovina</option>
                          <option value="Botswana">Botswana</option>
                          <option value="Brazil">Brazil</option>
                          <option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
                          <option value="Brunei">Brunei</option>
                          <option value="Bulgaria">Bulgaria</option>
                          <option value="Burkina Faso">Burkina Faso</option>
                          <option value="Burundi">Burundi</option>
                          <option value="Cambodia">Cambodia</option>
                          <option value="Cameroon">Cameroon</option>
                          <option value="Canada">Canada</option>
                          <option value="Canary Islands">Canary Islands</option>
                          <option value="Cape Verde">Cape Verde</option>
                          <option value="Cayman Islands">Cayman Islands</option>
                          <option value="Central African Republic">Central African Republic</option>
                          <option value="Chad">Chad</option>
                          <option value="Channel Islands">Channel Islands</option>
                          <option value="Chile">Chile</option>
                          <option value="China">China</option>
                          <option value="Christmas Island">Christmas Island</option>
                          <option value="Cocos Island">Cocos Island</option>
                          <option value="Colombia">Colombia</option>
                          <option value="Comoros">Comoros</option>
                          <option value="Congo">Congo</option>
                          <option value="Cook Islands">Cook Islands</option>
                          <option value="Costa Rica">Costa Rica</option>
                          <option value="Cote DIvoire">Cote D'Ivoire</option>
                          <option value="Croatia">Croatia</option>
                          <option value="Cuba">Cuba</option>
                          <option value="Curaco">Curacao</option>
                          <option value="Cyprus">Cyprus</option>
                          <option value="Czech Republic">Czech Republic</option>
                          <option value="Denmark">Denmark</option>
                          <option value="Djibouti">Djibouti</option>
                          <option value="Dominica">Dominica</option>
                          <option value="Dominican Republic">Dominican Republic</option>
                          <option value="East Timor">East Timor</option>
                          <option value="Ecuador">Ecuador</option>
                          <option value="Egypt">Egypt</option>
                          <option value="El Salvador">El Salvador</option>
                          <option value="Equatorial Guinea">Equatorial Guinea</option>
                          <option value="Eritrea">Eritrea</option>
                          <option value="Estonia">Estonia</option>
                          <option value="Ethiopia">Ethiopia</option>
                          <option value="Falkland Islands">Falkland Islands</option>
                          <option value="Faroe Islands">Faroe Islands</option>
                          <option value="Fiji">Fiji</option>
                          <option value="Finland">Finland</option>
                          <option value="France">France</option>
                          <option value="French Guiana">French Guiana</option>
                          <option value="French Polynesia">French Polynesia</option>
                          <option value="French Southern Ter">French Southern Ter</option>
                          <option value="Gabon">Gabon</option>
                          <option value="Gambia">Gambia</option>
                          <option value="Georgia">Georgia</option>
                          <option value="Germany">Germany</option>
                          <option value="Ghana">Ghana</option>
                          <option value="Gibraltar">Gibraltar</option>
                          <option value="Great Britain">Great Britain</option>
                          <option value="Greece">Greece</option>
                          <option value="Greenland">Greenland</option>
                          <option value="Grenada">Grenada</option>
                          <option value="Guadeloupe">Guadeloupe</option>
                          <option value="Guam">Guam</option>
                          <option value="Guatemala">Guatemala</option>
                          <option value="Guinea">Guinea</option>
                          <option value="Guyana">Guyana</option>
                          <option value="Haiti">Haiti</option>
                          <option value="Hawaii">Hawaii</option>
                          <option value="Honduras">Honduras</option>
                          <option value="Hong Kong">Hong Kong</option>
                          <option value="Hungary">Hungary</option>
                          <option value="Iceland">Iceland</option>
                          <option value="India">India</option>
                          <option value="Indonesia">Indonesia</option>
                          <option value="Iran">Iran</option>
                          <option value="Iraq">Iraq</option>
                          <option value="Ireland">Ireland</option>
                          <option value="Isle of Man">Isle of Man</option>
                          <option value="Israel">Israel</option>
                          <option value="Italy">Italy</option>
                          <option value="Jamaica">Jamaica</option>
                          <option value="Japan">Japan</option>
                          <option value="Jordan">Jordan</option>
                          <option value="Kazakhstan">Kazakhstan</option>
                          <option value="Kenya">Kenya</option>
                          <option value="Kiribati">Kiribati</option>
                          <option value="Korea North">Korea North</option>
                          <option value="Korea Sout">Korea South</option>
                          <option value="Kuwait">Kuwait</option>
                          <option value="Kyrgyzstan">Kyrgyzstan</option>
                          <option value="Laos">Laos</option>
                          <option value="Latvia">Latvia</option>
                          <option value="Lebanon">Lebanon</option>
                          <option value="Lesotho">Lesotho</option>
                          <option value="Liberia">Liberia</option>
                          <option value="Libya">Libya</option>
                          <option value="Liechtenstein">Liechtenstein</option>
                          <option value="Lithuania">Lithuania</option>
                          <option value="Luxembourg">Luxembourg</option>
                          <option value="Macau">Macau</option>
                          <option value="Macedonia">Macedonia</option>
                          <option value="Madagascar">Madagascar</option>
                          <option value="Malaysia">Malaysia</option>
                          <option value="Malawi">Malawi</option>
                          <option value="Maldives">Maldives</option>
                          <option value="Mali">Mali</option>
                          <option value="Malta">Malta</option>
                          <option value="Marshall Islands">Marshall Islands</option>
                          <option value="Martinique">Martinique</option>
                          <option value="Mauritania">Mauritania</option>
                          <option value="Mauritius">Mauritius</option>
                          <option value="Mayotte">Mayotte</option>
                          <option value="Mexico">Mexico</option>
                          <option value="Midway Islands">Midway Islands</option>
                          <option value="Moldova">Moldova</option>
                          <option value="Monaco">Monaco</option>
                          <option value="Mongolia">Mongolia</option>
                          <option value="Montserrat">Montserrat</option>
                          <option value="Morocco">Morocco</option>
                          <option value="Mozambique">Mozambique</option>
                          <option value="Myanmar">Myanmar</option>
                          <option value="Nambia">Nambia</option>
                          <option value="Nauru">Nauru</option>
                          <option value="Nepal">Nepal</option>
                          <option value="Netherland Antilles">Netherland Antilles</option>
                          <option value="Netherlands">Netherlands (Holland, Europe)</option>
                          <option value="Nevis">Nevis</option>
                          <option value="New Caledonia">New Caledonia</option>
                          <option value="New Zealand">New Zealand</option>
                          <option value="Nicaragua">Nicaragua</option>
                          <option value="Niger">Niger</option>
                          <option value="Nigeria">Nigeria</option>
                          <option value="Niue">Niue</option>
                          <option value="Norfolk Island">Norfolk Island</option>
                          <option value="Norway">Norway</option>
                          <option value="Oman">Oman</option>
                          <option value="Pakistan">Pakistan</option>
                          <option value="Palau Island">Palau Island</option>
                          <option value="Palestine">Palestine</option>
                          <option value="Panama">Panama</option>
                          <option value="Papua New Guinea">Papua New Guinea</option>
                          <option value="Paraguay">Paraguay</option>
                          <option value="Peru">Peru</option>
                          <option value="Phillipines">Philippines</option>
                          <option value="Pitcairn Island">Pitcairn Island</option>
                          <option value="Poland">Poland</option>
                          <option value="Portugal">Portugal</option>
                          <option value="Puerto Rico">Puerto Rico</option>
                          <option value="Qatar">Qatar</option>
                          <option value="Republic of Montenegro">Republic of Montenegro</option>
                          <option value="Republic of Serbia">Republic of Serbia</option>
                          <option value="Reunion">Reunion</option>
                          <option value="Romania">Romania</option>
                          <option value="Russia">Russia</option>
                          <option value="Rwanda">Rwanda</option>
                          <option value="St Barthelemy">St Barthelemy</option>
                          <option value="St Eustatius">St Eustatius</option>
                          <option value="St Helena">St Helena</option>
                          <option value="St Kitts-Nevis">St Kitts-Nevis</option>
                          <option value="St Lucia">St Lucia</option>
                          <option value="St Maarten">St Maarten</option>
                          <option value="St Pierre &amp; Miquelon">St Pierre &amp; Miquelon</option>
                          <option value="St Vincent &amp; Grenadines">St Vincent &amp; Grenadines</option>
                          <option value="Saipan">Saipan</option>
                          <option value="Samoa">Samoa</option>
                          <option value="Samoa American">Samoa American</option>
                          <option value="San Marino">San Marino</option>
                          <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>
                          <option value="Saudi Arabia">Saudi Arabia</option>
                          <option value="Senegal">Senegal</option>
                          <option value="Seychelles">Seychelles</option>
                          <option value="Sierra Leone">Sierra Leone</option>
                          <option value="Singapore">Singapore</option>
                          <option value="Slovakia">Slovakia</option>
                          <option value="Slovenia">Slovenia</option>
                          <option value="Solomon Islands">Solomon Islands</option>
                          <option value="Somalia">Somalia</option>
                          <option value="South Africa">South Africa</option>
                          <option value="Spain">Spain</option>
                          <option value="Sri Lanka">Sri Lanka</option>
                          <option value="Sudan">Sudan</option>
                          <option value="Suriname">Suriname</option>
                          <option value="Swaziland">Swaziland</option>
                          <option value="Sweden">Sweden</option>
                          <option value="Switzerland">Switzerland</option>
                          <option value="Syria">Syria</option>
                          <option value="Tahiti">Tahiti</option>
                          <option value="Taiwan">Taiwan</option>
                          <option value="Tajikistan">Tajikistan</option>
                          <option value="Tanzania">Tanzania</option>
                          <option value="Thailand">Thailand</option>
                          <option value="Togo">Togo</option>
                          <option value="Tokelau">Tokelau</option>
                          <option value="Tonga">Tonga</option>
                          <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>
                          <option value="Tunisia">Tunisia</option>
                          <option value="Turkey">Turkey</option>
                          <option value="Turkmenistan">Turkmenistan</option>
                          <option value="Turks &amp; Caicos Is">Turks &amp; Caicos Is</option>
                          <option value="Tuvalu">Tuvalu</option>
                          <option value="Uganda">Uganda</option>
                          <option value="Ukraine">Ukraine</option>
                          <option value="United Arab Erimates">United Arab Emirates</option>
                          <option value="United Kingdom">United Kingdom</option>
                          <option value="United States of America">United States of America</option>
                          <option value="Uraguay">Uruguay</option>
                          <option value="Uzbekistan">Uzbekistan</option>
                          <option value="Vanuatu">Vanuatu</option>
                          <option value="Vatican City State">Vatican City State</option>
                          <option value="Venezuela">Venezuela</option>
                          <option value="Vietnam">Vietnam</option>
                          <option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
                          <option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
                          <option value="Wake Island">Wake Island</option>
                          <option value="Wallis &amp; Futana Is">Wallis &amp; Futana Is</option>
                          <option value="Yemen">Yemen</option>
                          <option value="Zaire">Zaire</option>
                          <option value="Zambia">Zambia</option>
                          <option value="Zimbabwe">Zimbabwe</option>
                      </select></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="98%" height="212">
                    <tr>
                      <td width="50%" height="30">Notification of new Projects </td>
                      <td width="50%"><p>
                          <label>
                          <input type="radio" name="Notification_yes" value="Yes" />
                            Yes</label>
                          <label>
                          <input type="radio" name="Notification_no" value="Yes" />
                            No</label>
                          <br />
                          <label></label>
                      </p></td>
                    </tr>
                    <tr>
                      <td height="36">Username</td>
                      <td><label>
                        <input type="text" name="Username" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="28">Password</td>
                      <td><label>
                        <input type="text" name="Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="33">Confirm Password </td>
                      <td><label>
                        <input type="text" name="Confirm_Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="34">Security Question </td>
                      <td><select name="Security_Question" onchange="">
                          <option>Mothers Maiden Name</option>
                          <option>Favourite Pets Name</option>
                          <option>Primary School</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="31">Security Answer </td>
                      <td><label>
                        <input type="text" name="Security_Answer" />
                      </label></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center">
              <tr>
                <td height="82" valign="top"><table width="108%">
                    <tr>
                      <td width="84%">I have agreed that i have permission of the copyright holder to upload this information </td>
                      <td width="16%"><label>
                        <input type="checkbox" name="Copyright" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I have read the terms and conditions of this website and agree with these terms </td>
                      <td><label>
                        <input type="checkbox" name="Terms" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I agree with the privacy policy </td>
                      <td><label>
                        <input type="checkbox" name="Privacy" value="Yes" />
                      </label></td>
                    </tr>
                  </table>
                    <div align="right">
                      <input type="submit" name="Submit" value="Submit" />
                    </div>
                  <div align="right"></div></td>
              </tr>
            </table>
			</form>
<?php 
} 
?>
            <p>&nbsp;</p>
            <!-- InstanceEndEditable --></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#CCCCCC"><table width="100%">
      <tr>
        <td width="41%"><span class="style26">Privacy Policy &brvbar; Terma &amp; Conditions &brvbar; Advice &brvbar; FAQ &brvbar; Contact Us </span></td>
        <td width="35%"><span class="style26">Copyright 2009 Building Bids </span></td>
        <td width="24%"><span class="style26">Site Developed by Acorn Solutions</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
so when you try to insert into mysql it's giving you an error? what is it?
also you can try to change line 161 to

if (isset($_POST['Submit'])) {

Hendrik WieseInformation Security Manager

Commented:
You only defined one table "$db_table = "ConsultantDetails" you will need to define the other table and have a seporate sql string to insert those values into the table.

Please let me know if this helps?
Hendrik WieseInformation Security Manager

Commented:
What I would suggest is the following:

<?php
$db_table1 = "upload"; // provide your table name

$sql = "INSERT INTO $db_table1(name, tmp_name, size, type) values ('$fileName', '$fileSize', '$fileType', '$content')";
?>

This should work
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

Hendrik WieseInformation Security Manager

Commented:
Sorry use $sql2 as you already have a sql defined.
@HendrikWiese: it is exactly as she has it. what is your solution? having the name of the table in the sql it's not a problem. and in the description she sad that she could  insert into the tables ... so i asume that she  has defined the tables

as for the diferent variable name ($sql2) it's no need to change the name because you don't need the first $sql value at a later stage
Hello, Natasha!
First off, you've got an obvious error in your SQL code-- the very first value you're trying to insert, the value associated with Consultantid, shows up in your code above as $_REQUEST[''].  I assume you meant $_REQUEST['Consultantid']?  Try fixing that first.
Also, using $_REQUEST['Submit'] in your IF statement should not cause a problem.
Next, you implied that maybe you tried merging two tables to create this ConsultantDetails table?  Are you sure that the table structure and field names match what you're trying to insert using this query?  In particular, let me ask what the primary key is for the table.  Do you use an autonumber field, and would it, by any chance, be this Consultantid field?  Because if so, you'll be unable to enter a value for Consultantid.  If that's the case and you remove it from your query (the field name from the first list, the value from the second) then the database will generate the autonumber for that field, no problem.
Finally, in the values list in your query, make sure you're not using quotation marks around values that are supposed to be numbers.  Quotation marks should only be for text values.
Does this help?  It might help us help you if you give us the entire structure of your table, listing all the field names and types.
 
Hmmm, one other question/comment...  You said something about inserting files into the database.  Do you mean to imply that your registration form includes a way for the user to upload a file, like with your Upload_Photo field?  Because if that's the case, there's a whole 'nother angle to this project.  If so, you can't simply insert the value of $_REQUEST['Upload_Photo'] to your table.  You'll need to use the $_FILES array, and your field in the database should be of type TINYBLOB, BLOB, MEDIUMBLOB, or LONGBLOB, depending on the size of the file.  I can show you how to do this if need be.
If you don't want to mess with the file upload for the time being, you can simply remove that item from your query (again, the field name from the first list, the value from the second) and see if the query works then.

Commented:
Hi

I have a number of tables but the ones refering to this particulat form are called ConsultantDetails and upload i would like to upload all my form details to the ConsultantDetails table if possible but not sure if i can as consultantdetailsid is my primary key and is auto incremented. When i fill in the form all the details go into the table except the file that remains empty and i get no error  the table detais are below.  I also created a seperate table just tp upload files to and this works when i have a seperate form details are below for the form and the table this upload form will upload files to this upload table but i want to have just one form not two to upload data and file, it doesn't matter how many tables there are.

upload.php form

<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password
$db_password = "kevinmac"; // provide your database password
$database = "buildingbids"; // provide your database name
$db_table = "upload"; // provide your table name

$db = mysql_connect($hostname, $db_user, $db_password);
mysql_select_db($database,$db);
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<?php
if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0)
{
$fileName = $_FILES['userfile']['name'];
$tmpName  = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];

$fp      = fopen($tmpName, 'r');
$content = fread($fp, filesize($tmpName));
$content = addslashes($content);
fclose($fp);

if(!get_magic_quotes_gpc())
{
    $fileName = addslashes($fileName);
}

include 'library/config.php';
include 'library/opendb.php';

$query = "INSERT INTO upload (name, size, type, content ) ".
"VALUES ('$fileName', '$fileSize', '$fileType', '$content')";

mysql_query($query) or die('Error, query failed');
include 'library/closedb.php';

echo "<br>File $fileName uploaded<br>";
}
?>


<form method="post" enctype="multipart/form-data">
<table width="350" border="0" cellpadding="1" cellspacing="1" class="box">
<tr>
<td width="246">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
<input name="userfile" type="file" id="userfile">
</td>
<td width="80"><input name="upload" type="submit" class="box" id="upload" value=" Upload "></td>
</tr>
</table>
</form>


</body>
</html>



Upload Table


-- phpMyAdmin SQL Dump
-- version 2.11.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 21, 2009 at 04:14 PM
-- Server version: 5.0.45
-- PHP Version: 5.1.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `buildingbids`
--

-- --------------------------------------------------------

--
-- Table structure for table `upload`
--

CREATE TABLE `upload` (
  `uploadid` int(255) NOT NULL auto_increment,
  `name` varchar(30) NOT NULL,
  `type` varchar(30) NOT NULL,
  `size` int(255) NOT NULL,
  `content` mediumblob NOT NULL,
  PRIMARY KEY  (`uploadid`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;

--
-- Dumping data for table `upload`
--

INSERT INTO `upload` (`uploadid`, `name`, `type`, `size`, `content`) VALUES
(1, 'favicon.jpg', 'image/pjpeg', 8457, 0xffd8ffe000104a46494600010201004800480000ffe103cd4578696600004d4d002a000000080007011200030000000100010000011a00050000000100000062011b0005000000010000006a01280003000000010002000001310002000000140000007201320002000000140000008687690004000000010000009c000000c80000004800000001000000480000000141646f62652050686f746f73686f7020372e3000323030373a30373a32352031323a30333a30360000000003a001000300000001ffff0000a00200040000000100000010a0030004000000010000000d0000000000000006010300030000000100060000011a00050000000100000116011b0005000000010000011e01280003000000010002000002010004000000010000012602020004000000010000029f0000000000000048000000010000004800000001ffd8ffe000104a46494600010201004800480000ffed000c41646f62655f434d0002ffee000e41646f626500648000000001ffdb0084000c08080809080c09090c110b0a0b11150f0c0c0f1518131315131318110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010d0b0b0d0e0d100e0e10140e0e0e14140e0e0e0e14110c0c0c0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc0001108000d001003012200021101031101ffdd00040001ffc4013f0000010501010101010100000000000000030001020405060708090a0b0100010501010101010100000000000000010002030405060708090a0b1000010401030204020507060805030c33010002110304211231054151611322718132061491a1b14223241552c16233347282d14307259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b384c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607070605350100021103213112044151617122130532819114a1b14223c152d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03010002110311003f00dbe9bf57b0317a53bae66c7506b2bf55b8d5fd1ffae3bf39ecfcefdc41eabd1723a8638eb7d3de32315ed91406063ea6b7fc1b6bafd8ff004954fab23aa9cc1f6236b71f5fb41680eaf6fe7fabeb39946e5b7d74f573d3bfc90da99d2bddb86138b9c753ea6ef657ecddf4bd156aa627bdf9feef66adc0c76af2fdeeefffd9ffed085e50686f746f73686f7020332e30003842494d0425000000000010000000000000000000000000000000003842494d03ed000000000010004800000001000200480000000100023842494d042600000000000e000000000000000000003f8000003842494d040d0000000000040000001e3842494d04190000000000040000001e3842494d03f3000000000009000000000000000001003842494d040a00000000000100003842494d271000000000000a000100000000000000023842494d03f5000000000048002f66660001006c66660006000000000001002f6666000100a1999a0006000000000001003200000001005a00000006000000000001003500000001002d000000060000000000013842494d03f80000000000700000ffffffffffffffffffffffffffffffffffffffffffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e800003842494d0408000000000010000000010000024000000240000000003842494d041e000000000004000000003842494d041a00000000033d0000000600000000000000000000000d0000001000000004006c006f0067006f0000000100000000000000000000000000000000000000010000000000000000000000100000000d00000000000000000000000000000000010000000000000000000000000000000000000010000000010000000000006e756c6c0000000200000006626f756e64734f626a6300000001000000000000526374310000000400000000546f70206c6f6e6700000000000000004c6566746c6f6e67000000000000000042746f6d6c6f6e670000000d00000000526768746c6f6e670000001000000006736c69636573566c4c73000000014f626a6300000001000000000005736c6963650000001200000007736c69636549446c6f6e67000000000000000767726f757049446c6f6e6700000000000000066f726967696e656e756d0000000c45536c6963654f726967696e0000000d6175746f47656e6572617465640000000054797065656e756d0000000a45536c6963655479706500000000496d672000000006626f756e64734f626a6300000001000000000000526374310000000400000000546f70206c6f6e6700000000000000004c6566746c6f6e67000000000000000042746f6d6c6f6e670000000d00000000526768746c6f6e67000000100000000375726c54455854000000010000000000006e756c6c54455854000000010000000000004d7367655445585400000001000000000006616c74546167544558540000000100000000000e63656c6c54657874497348544d4c626f6f6c010000000863656c6c546578745445585400000001000000000009686f727a416c69676e656e756d0000000f45536c696365486f727a416c69676e0000000764656661756c740000000976657274416c69676e656e756d0000000f45536c69636556657274416c69676e0000000764656661756c740000000b6267436f6c6f7254797065656e756d0000001145536c6963654247436f6c6f7254797065000000004e6f6e6500000009746f704f75747365746c6f6e67000000000000000a6c6566744f75747365746c6f6e67000000000000000c626f74746f6d4f75747365746c6f6e67000000000000000b72696768744f75747365746c6f6e6700000000003842494d041100000000000101003842494d0414000000000004000000013842494d040c0000000002bb00000001000000100000000d00000030000002700000029f00180001ffd8ffe000104a46494600010201004800480000ffed000c41646f62655f434d0002ffee000e41646f626500648000000001ffdb0084000c08080809080c09090c110b0a0b11150f0c0c0f1518131315131318110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010d0b0b0d0e0d100e0e10140e0e0e14140e0e0e0e14110c0c0c0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc0001108000d001003012200021101031101ffdd00040001ffc4013f0000010501010101010100000000000000030001020405060708090a0b0100010501010101010100000000000000010002030405060708090a0b1000010401030204020507060805030c33010002110304211231054151611322718132061491a1b14223241552c16233347282d14307259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b384c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607070605350100021103213112044151617122130532819114a1b14223c152d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03010002110311003f00dbe9bf57b0317a53bae66c7506b2bf55b8d5fd1ffae3bf39ecfcefdc41eabd1723a8638eb7d3de32315ed91406063ea6b7fc1b6bafd8ff004954fab23aa9cc1f6236b71f5fb41680eaf6fe7fabeb39946e5b7d74f573d3bfc90da99d2bddb86138b9c753ea6ef657ecddf4bd156aa627bdf9feef66adc0c76af2fdeeefffd9003842494d042100000000005500000001010000000f00410064006f00620065002000500068006f0074006f00730068006f00700000001300410064006f00620065002000500068006f0074006f00730068006f007000200037002e003000000001003842494d04060000000000070001000000010100ffe11248687474703a2f2f6e732e61646f62652e636f6d2f7861702f312e302f003c3f787061636b657420626567696e3d27efbbbf272069643d2757354d304d7043656869487a7265537a4e54637a6b633964273f3e0a3c3f61646f62652d7861702d66696c74657273206573633d224352223f3e0a3c783a7861706d65746120786d6c6e733a783d2761646f62653a6e733a6d6574612f2720783a786170746b3d27584d5020746f6f6c6b697420322e382e322d33332c206672616d65776f726b20312e35273e0a3c7264663a52444620786d6c6e733a7264663d27687474703a2f2f7777772e77332e6f72672f313939392f30322f32322d7264662d73796e7461782d6e73232720786d6c6e733a69583d27687474703a2f2f6e732e61646f62652e636f6d2f69582f312e302f273e0a0a203c7264663a4465736372697074696f6e2061626f75743d27757569643a36386133383336622d336139652d313164632d626536662d653931383932656333663863270a2020786d6c6e733a7861704d4d3d27687474703a2f2f6e732e61646f62652e636f6d2f7861702f312e302f6d6d2f273e0a20203c7861704d4d3a446f63756d656e7449443e61646f62653a646f6369643a70686f746f73686f703a36386133383336372d336139652d313164632d626536662d6539313839326563336638633c2f7861704d4d3a446f63756d656e7449443e0a203c2f7264663a4465736372697074696f6e3e0a0a3c2f7264663a5244463e0a3c2f783a7861706d6574613e0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a3c3f787061636b657420656e643d2777273f3effee000e41646f626500648000000001ffdb0084000c08080809080c09090c110b0a0b11150f0c0c0f1518131315131318110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010d0b0b0d0e0d100e0e10140e0e0e14140e0e0e0e14110c0c0c0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc0001108000d001003012200021101031101ffdd00040001ffc4013f0000010501010101010100000000000000030001020405060708090a0b0100010501010101010100000000000000010002030405060708090a0b1000010401030204020507060805030c33010002110304211231054151611322718132061491a1b14223241552c16233347282d14307259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b384c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607070605350100021103213112044151617122130532819114a1b14223c152d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03010002110311003f00dbe9bf57f0317a53bae66c7506b2bf55b8d5fd1ffae3bf39ecfcefdc41eabd1723a8638eb7d3de32315ed91406063ea6b74f4db5d7ec7fa4aa7d591d54e60fb19b5b8fafda0b40757b7f3fd51739942dbeba7ab9e9dfe476d4ce95eedc309c5ce3a9f5377b2bf66efa7e92b55313defcff0077b356e063b57fdf777fffd9),
(2, 'index-2.html', 'text/html', 11565, 0x3c68746d6c3e0d0a3c686561643e0d0a0d0a3c7469746c653e41636f726e20536f6c7574696f6e73202d205765622044657369676e2c2045636f6d6d6572636520536f6c7574696f6e7320616e6420446174616261736520446576656c6f706d656e743c2f7469746c653e0d0a3c6d65746120687474702d65717569763d22436f6e74656e742d547970652220636f6e74656e743d22746578742f68746d6c3b20636861727365743d69736f2d383835392d31223e0d0a3c6d657461206e616d653d224b6579776f7264732220636f6e74656e743d224e617461736861204d63446f6e616c642c205765622044657369676e2c205765622c2044617461626173652c2045636f6d6d65726365202c53454f20747261696e696e672c207765622064657369676e20547261696e696e672c77656220736f6c7574696f6e732c776562206c61796f75742c207765622064657369676e2c207765622064657369676e65727320696e206972656c616e642c207765622064657369676e6572732c2069726973682c20646576656c6f706d656e742c22202f3e0d0a3c6d657461206e616d653d226465736372697074696f6e2220636f6e74656e743d22576562736974652064657369676e20616e6420646576656c6f706d656e74207468726f7567686f7574204972656c616e64206174207265616c6973746963207072696365732022202f3e0d0a3c4d455441206e616d653d2261627374726163742220636f6e74656e743d225765622064657369676e204972656c616e642c2057656220646576656c6f706d656e74204972656c616e642c20576562207369746520646576656c6f706d656e74204972656c616e642c2057656220706167652064657369676e204475626c696e223e0d0a3c3c6d657461206e616d653d2255524c2220636f6e74656e743d22687474703a2f2f7777772e61636f726e736f6c7574696f6e732e696522202f3e0d0a3c6d657461206e616d653d226c616e67756167652220636f6e74656e743d22456e676c69736822202f3e0d0a3c6d657461206e616d653d22617574686f722220636f6e74656e743d224e617461736861204d63446f6e616c6422202f3e0d0a3c6d657461206e616d653d22726f626f74732220636f6e74656e743d22696e6465782c666f6c6c6f7722202f3e0d0a3c6d657461206e616d653d22726576697369742d61667465722220636f6e74656e743d2233206461797322202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d636c6173732220636f6e74656e743d22436f6d706c6574656422202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d636c617373696669636174696f6e2220636f6e74656e743d22495420616e64205765622044657369676e22202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d7269676874732220636f6e74656e743d22436f70797269676874656420576f726b22202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d747970652220636f6e74656e743d225075626c696322202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d726174696e672220636f6e74656e743d225361666520666f72204b69647322202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d646973747269627574696f6e2220636f6e74656e743d22476c6f62616c22202f3e0d0a3c6d657461206e616d653d22646f63756d656e742d73746174652220636f6e74656e743d2253746174696322202f3e0d0a3c6d657461206e616d653d2263616368652d636f6e74726f6c2220636f6e74656e743d225075626c696322202f3e0d0a0d0a3c6c696e6b20687265663d227374796c652e637373222072656c3d227374796c6573686565742220747970653d22746578742f637373223e0d0a3c2f686561643e0d0a0d0a3c626f647920746f706d617267696e3d22302220626f74746f6d6d617267696e3d2230222072696768746d617267696e3d22302220206c6566746d617267696e3d22302220206267636f6c6f723d2223373139364235223e0d0a0d0a3c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230222020616c69676e3d2263656e74657222203e0d0a093c74723e090d0a0920203c74642076616c69676e3d22746f70222077696474683d2237373022206865696768743d2236303022203e0d0a092020093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230223e0d0a0909093c74723e0d0a090909093c74642076616c69676e3d22746f70222077696474683d2237373022206865696768743d22323539223e0d0a09090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230223e0d0a0909090909093c74723e0d0a090909090909093c74642076616c69676e3d22746f70222077696474683d2237373022206865696768743d22333122206261636b67726f756e643d22696d616765732f30325f6c696e65312e6a7067223e3c2f74643e0d0a0909090909093c2f74723e0d0a0909090909093c74723e0d0a090909090909093c74642076616c69676e3d22746f70222077696474683d2237373022206865696768743d22323238223e0d0a09090909090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230223e0d0a0909090909090909093c74723e0d0a090909090909090909093c74642076616c69676e3d22746f70222077696474683d22323822206865696768743d2232323822206261636b67726f756e643d22696d616765732f30325f6c6566742d312e6a7067223e3c2f74643e0d0a090909090909090909090d0a090909090909090909093c74642076616c69676e3d22746f70222077696474683d2237313522206865696768743d2232323822206261636b67726f756e643d22696d616765732f30325f66696768742e6a7067223e0d0a090909090909090909090d0a090909090909090909093c6f626a65637420636c61737369643d22636c7369643a44323743444236452d414536442d313163662d393642382d3434343535333534303030302220636f6465626173653d22687474703a2f2f646f776e6c6f61642e6d6163726f6d656469612e636f6d2f7075622f73686f636b776176652f636162732f666c6173682f7377666c6173682e6361622376657273696f6e3d362c302c32392c30222077696474683d2237313522206865696768743d22323238223e0d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020203c706172616d206e616d653d226d6f766965222076616c75653d22666c6173682f6865616465722e737766223e0d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020203c706172616d206e616d653d227175616c697479222076616c75653d2268696768223e0d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020203c656d626564207372633d22666c6173682f6865616465722e73776622207175616c6974793d22686967682220706c7567696e73706167653d22687474703a2f2f7777772e6d6163726f6d656469612e636f6d2f676f2f676574666c617368706c617965722220747970653d226170706c69636174696f6e2f782d73686f636b776176652d666c617368222077696474683d2237313522206865696768743d22323238223e3c2f656d6265643e0d0a090909090909090909202020203c2f6f626a6563743e0d0a090909090909090909093c2f74643e0d0a090909090909090909093c74642076616c69676e3d22746f70222077696474683d22323622206865696768743d2232323822206261636b67726f756e643d22696d616765732f30325f66696768742d312e6a7067223e3c2f74643e0d0a0909090909090909093c2f74723e0d0a09090909090909093c2f7461626c653e0d0a090909090909093c2f74643e0d0a090909090909090d0a0909090909093c2f74723e0d0a0909090909093c74723e0d0a090909090909093c74642076616c69676e3d22746f70222077696474683d2237373022206865696768743d22323535223e0d0a09090909090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230223e0d0a0909090909090909093c74723e0d0a090909090909090909093c74642076616c69676e3d22746f70222077696474683d22343622206865696768743d2232353522206261636b67726f756e643d22696d616765732f30325f6c656674312e6a7067223e3c2f74643e0d0a090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236383022206865696768743d22323535223e0d0a09090909090909090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230223e0d0a0909090909090909090909093c74723e0d0a090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373922206865696768743d223422206261636b67726f756e643d22696d616765732f30325f6c696e65332e6a7067223e3c2f74643e0d0a0909090909090909090909093c2f74723e0d0a0909090909090909090909093c74723e0d0a090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373922206865696768743d223322206261636b67726f756e643d22696d616765732f6c696e65322e6a7067223e3c2f74643e0d0a0909090909090909090909093c2f74723e0d0a0909090909090909090909093c74723e0d0a090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373922206865696768743d22323435223e0d0a09090909090909090909090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d223022206267636f6c6f723d2223464646464646223e0d0a0909090909090909090909090909093c74723e0d0a090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d223422206865696768743d2232343522206261636b67726f756e643d22696d616765732f6c696e65342e6a706722207374796c653d226261636b67726f756e642d7265706561743a6e6f2d72657065617420223e3c2f74643e0d0a090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373022206865696768743d22323435223e0d0a09090909090909090909090909090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d2230223e0d0a0909090909090909090909090909090909093c74723e0d0a090909090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373022206865696768743d223237223e0d0a09090909090909090909090909090909090909093c64697620207374796c653d226d617267696e2d6c6566743a373170783b206d617267696e2d746f703a313070783b223e3c696d6720207374796c653d226d617267696e2d72696768743a313439707820227372633d22696d616765732f30335f77312e6a7067223e3c696d6720207372633d22696d616765732f30335f77322e6a7067223e3c696d6720207374796c653d226d617267696e2d6c6566743a313535707820227372633d22696d616765732f30335f77332e6a7067223e3c2f6469763e200d0a090909090909090909090909090909090909093c2f74643e0d0a0909090909090909090909090909090909093c2f74723e0d0a0909090909090909090909090909090909093c74723e0d0a090909090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373022206865696768743d223122206267636f6c6f723d2223443444344436223e3c2f74643e0d0a0909090909090909090909090909090909093c2f74723e0d0a0909090909090909090909090909090909093c74723e0d0a090909090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373022206865696768743d22323135223e0d0a09090909090909090909090909090909090909093c7461626c652063656c6c70616464696e673d2230222063656c6c73706163696e673d22302220626f726465723d223022206865696768743d2231303025223e0d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c74723e200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c7464206865696768743d22323135222076616c69676e3d22746f70223e203c64697620207374796c653d226d617267696e2d6c6566743a313970783b206d617267696e2d746f703a313470783b223e3c696d67207372633d22696d616765732f30335f70312e6a70672220616c743d225765622044657369676e2026616d703b2045636f6d6d6572636520536f6c7574696f6e732c2053454f2026616d703b20446174616261736520446576656c6f706d656e742220616c69676e3d226c6566742220207374796c653d226d617267696e2d72696768743a3131707820223e3c7374726f6e673e3c666f6e742073697a653d22322220666163653d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e41636f726e200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020536f6c7574696f6e733c2f666f6e743e3c2f7374726f6e673e3c666f6e742073697a653d22322220666163653d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020697320616e2045636f6d6d65726365207765622064657369676e2c20547261696e696e670d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020616e6420446174616261736520636f6d70616e7920626173656420696e2042616c646f796c652c204475626c696e2031332074686174206f6666657273200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736572766963657320746f20627573696e657373657320616e64206f7267616e69736174696f6e73200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207468726f7567686f7574204972656c616e6420616e64206162726f6164200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202077697468207468652061696d206f66206f66666572696e67206166666f726461626c65200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020616e64206566666563746976652077656220736974652c20747261696e696e6720616e64204461746162617365200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736f6c7574696f6e732e57652068617665206f76657220313020796561727320657870657269656e636520616e64206e6f206a6f6220697320746f6f20626967206f7220746f6f20736d616c6c2e203c2f666f6e743e3c666f6e742073697a653d2232223e0d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c703e3c666f6e742073697a653d22322220666163653d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e5765200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202068617665206120686967686c79207175616c696669656420616e64200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020657870657269656e63656420636f6d70616e792077697468207374726f6e67200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020747261696e696e672077656220616e64204461746162617365206275696c64696e67200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736b696c6c732e20436f64696e67200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736b696c6c732061726520636f6d62696e656420776974682061200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020206c6f676963616c20617070726f61636820746f2073697465206c61796f7574200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020616e642073747275637475726520726573756c74696e6720696e200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202077656c6c206f7267616e697365642c20656173696c79206e61766967617465642c200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207573657220667269656e646c7920736974657320656e636f75726167696e67200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202076697369746f727320746f206578706c6f7265206265796f6e64200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020746865206d61696e20706167652e4164646974696f6e616c200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736b696c6c7320696e2070686f746f67726170686963206d616e6970756c6174696f6e200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020616e642067726170686963732064657369676e20656e61626c65200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020757320746f2061646420616e20617474726163746976652066616365200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020746f206f757220636c69656e74732720776562207369746573200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207768696c7374206b656570696e6720646f776e6c6f61642074696d6573200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020746f2061206d696e696d756d2e496e200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020206164646974696f6e2041636f726e20536f6c7574696f6e732063616e200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020696e636f72706f7261746520696e746f2069747320776f726b200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736b696c6c73207375636820617320466c6173682c204a6176617363726970742c200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020616e642041535020616464696e6720696e7465726163746976697479200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020616e64206d6f726520636f6d706c6578206665617475726573200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020746f206120736974652e3c2f666f6e743e3c2f703e0d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c703e3c666f6e742073697a653d22322220666163653d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e466f72200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202074686f7365206c6f6f6b696e6720746f207472616465206f6e200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202074686520496e7465726e657420776520616c736f2068617665200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020736b696c6c7320696e207468652070726f64756374696f6e206f66200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202065636f6d6d6572636520736f6c7574696f6e73207573696e67200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020746865206c656164696e67206f6e6c696e652073686f7070696e67200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202073797374656d7320616e6420726570757461626c65206f6e6c696e65200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020206d65726368616e7420736572766963657320656e737572696e67200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020746861742065636f6d6d657263652073746f72657320636f6e7374727563746564200d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202062792041636f726e20536f6c7574696f6e73206f666665722061200d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207365637572652074726164696e6720656e7669726f6e6d656e742e3c2f666f6e743e3c2f703e0d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c2f666f6e743e200d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c703e3c2f703e0d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c2f6469763e0d0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c2f74643e0d0a20202020202020202020202020202020202020202020202020202020202020202020202020202020202020203c2f74723e0d0a2020202020202020202020202020202020202020202020202020202020202020202020202020202020203c2f7461626c653e0d0a090909090909090909090909090909090909093c2f74643e0d0a0909090909090909090909090909090909093c2f74723e0d0a0909090909090909090909090909090909093c74723e0d0a090909090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373022206865696768743d2232223e3c2f74643e0d0a0909090909090909090909090909090909093c2f74723e0d0a09090909090909090909090909090909093c2f7461626c653e0d0a090909090909090909090909090909093c2f74643e0d0a090909090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d223622206865696768743d2232343522206261636b67726f756e643d22696d616765732f30325f6c696e65352e6a706722207374796c653d226261636b67726f756e642d7265706561743a6e6f2d72657065617420223e3c2f74643e0d0a0909090909090909090909090909093c2f74723e0d0a09090909090909090909090909093c2f7461626c653e0d0a090909090909090909090909093c2f74643e0d0a0909090909090909090909093c2f74723e0d0a0909090909090909090909093c74723e0d0a090909090909090909090909093c74642076616c69676e3d22746f70222077696474683d2236373922206865696768743d223322206261636b67726f756e643d22696d616765732f6c696e65332e6a7067223e3c2f74643e0d0a0909090909090909090909093c2f74723e0d0a09090909090909090909093c2f7461626c653e0d0a090909090909090909093c2f74643e0d0a090909090909090909093c74642076616c69676e3d22746f70222077696474683d22343522206865696768743d2232353522206261636b67726f756e643d22696d616765732f30325f7269676874312e6a7067223e3c2f74643e0d0a0909090909090909093c2f74723e0d0a09090909090909093c2f7461626c653e0d0a090909090909093c2f74643e0d0a0909090909093c2f74723e0d0a0909090909093c74723e0d0a090909090909093c74642076616c69676e3d22746f70222077696474683d2237373022206865696768743d2238362220206261636b67726f756e643d22696d616765732f626f74746f702e6a7067223e0d0a09090909090909093c64697620207374796c653d226d617267696e2d6c6566743a373270783b206d617267696e2d746f703a3870783b2220636c6173733d2267223e41636f726e200d0a2020202020202020202020202020202020202020536f6c7574696f6e7320a92032303036207c205072697661637920506f6c696379203c6120687265663d22696e6465782e68746d6c223e3c696d67207372633d22696d616765732f30315f6d312e6769662220626f726465723d223022207374796c653d226d617267696e2d6c6566743a333870783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d2223223e3c696d67207372633d22696d616765732f7a312e6769662220626f726465723d22302220616c69676e3d226162736d6964646c6522207374796c653d226d617267696e2d6c6566743a313070783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d22696e6465782d312e706870223e3c696d67207372633d22696d616765732f30315f6d322e6769662220626f726465723d223022207374796c653d226d617267696e2d6c6566743a313070783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d2223223e3c696d67207372633d22696d616765732f7a312e6769662220626f726465723d22302220616c69676e3d226162736d6964646c6522207374796c653d226d617267696e2d6c6566743a313070783b206d617267696e2d746f703a3570783b20783b223e3c2f613e3c6120687265663d22696e6465782d332e68746d6c223e3c696d67207372633d22696d616765732f30315f6d332e6769662220626f726465723d223022207374796c653d226d617267696e2d6c6566743a3870783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d2223223e3c696d67207372633d22696d616765732f7a312e6769662220626f726465723d22302220616c69676e3d226162736d6964646c6522207374796c653d226d617267696e2d6c6566743a313070783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d22696e6465782d332e68746d6c223e3c696d67207372633d22696d616765732f30315f6d342e6769662220626f726465723d223022207374796c653d226d617267696e2d6c6566743a313170783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d2223223e3c696d67207372633d22696d616765732f7a312e6769662220626f726465723d22302220616c69676e3d226162736d6964646c6522207374796c653d226d617267696e2d6c6566743a313070783b206d617267696e2d746f703a3570783b20223e3c2f613e3c6120687265663d22696e6465782d342e68746d6c223e3c696d67207372633d22696d616765732f30315f6d352e6769662220626f726465723d223022207374796c653d226d617267696e2d6c6566743a313170783b206d617267696e2d746f703a3570783b223e3c2f613e3c6120687265663d22696e6465782d352e68746d6c223e3c696d67207372633d22696d616765732f7a312e6769662220626f726465723d22302220616c69676e3d226162736d6964646c6522207374796c653d226d617267696e2d6c6566743a313070783b206d617267696e2d746f703a3570783b20223e3c2f613e3c6120687265663d2223223e3c696d67207372633d22696d616765732f30315f6d362e6769662220626f726465723d223022207374796c653d226d617267696e2d6c6566743a313170783b206d617267696e2d746f703a3570783b223e3c2f613e3c2f6469763e0d0a090909090909093c2f74643e0d0a0909090909093c2f74723e0d0a09090909093c2f7461626c653e0d0a090909093c2f74643e0d0a0909093c2f74723e0d0a09093c2f7461626c653e0d0a0920203c2f74643e0d0a093c2f74723e0d0a3c2f7461626c653e0d0a3c2f626f64793e0d0a3c2f68746d6c3e0d0a0d0a0d0a0d0a0d0a0d0a0d0a0d0a0d0a0d0a),
(3, '01_m4.gif', 'image/gif', 62, 0x4749463839611f000a00910000466e913f66864b75984c769a21f90401000000002c000000001f000a0000020f848fa9cbed0fa39cb4da8bb3dedc15003b),
(4, '01_m4.gif', 'image/gif', 62, 0x4749463839611f000a00910000466e913f66864b75984c769a21f90401000000002c000000001f000a0000020f848fa9cbed0fa39cb4da8bb3dedc15003b),
(5, '01_m4.gif', 'image/gif', 62, 0x4749463839611f000a00910000466e913f66864b75984c769a21f90401000000002c000000001f000a0000020f848fa9cbed0fa39cb4da8bb3dedc15003b),
(6, '04_z1.jpg', 'image/pjpeg', 396, 0xffd8ffe000104a46494600010200006400640000ffec00114475636b7900010004000000500000ffee000e41646f62650064c000000001ffdb0084000202020202020202020203020202030403020203040504040404040506050505050505060607070807070609090a0a09090c0c0c0c0c0c0c0c0c0c0c0c0c0c0c01030303050405090606090d0b090b0d0f0e0e0e0e0f0f0c0c0c0c0c0f0f0c0c0c0c0c0c0f0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc00011080006000803011100021101031101ffc400610001000000000000000000000000000000090101000000000000000000000000000000051000010206030100000000000000000000031204010213140516000607351100020104020300000000000000000000011102213112320022617103ffda000c03010002110311003f00474ec3b264efb5ace39eb5b3fa60c7e654c4f1d6b2361f5dc09229af0191a65506453012e2a3c131e3c2508ac835f3ed619bd47831a5772adc14c6727894e7d6fd56dec4ab4d03bf3fffd9),
(7, '02_right1.jpg', 'image/pjpeg', 2700, 0xffd8ffe000104a46494600010200006400640000ffec00114475636b7900010004000000500000ffee000e41646f62650064c000000001ffdb0084000202020202020202020203020202030403020203040504040404040506050505050505060607070807070609090a0a09090c0c0c0c0c0c0c0c0c0c0c0c0c0c0c01030303050405090606090d0b090b0d0f0e0e0e0e0f0f0c0c0c0c0c0f0f0c0c0c0c0c0c0f0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc000110800ff002d03011100021101031101ffc4006b0000020300000000000000000000000000000708090a01010101010100000000000000000000000600040307100000030607010100000000000000000000010211213112030741e12233042405061311010001050101000000000000000000000001b1027233046171ffda000c03010002110311003f0054c3abc5d32eed58cad7e3151e663d07c80010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f28150e2e94bff4af124bdec338a8cf31dfe38028150e2e94bff4af124bdec338a8cf317c4d04598224d9eb4e9233324fc6f8444666d36179f43101baf75f94d4df934d98c50ca19da147a1d038127fffd9);
INSERT INTO `upload` (`uploadid`, `name`, `type`, `size`, `content`) VALUES
(8, '02_right1.jpg', 'image/pjpeg', 2700, 0xffd8ffe000104a46494600010200006400640000ffec00114475636b7900010004000000500000ffee000e41646f62650064c000000001ffdb0084000202020202020202020203020202030403020203040504040404040506050505050505060607070807070609090a0a09090c0c0c0c0c0c0c0c0c0c0c0c0c0c0c01030303050405090606090d0b090b0d0f0e0e0e0e0f0f0c0c0c0c0c0f0f0c0c0c0c0c0c0f0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc000110800ff002d03011100021101031101ffc4006b0000020300000000000000000000000000000708090a01010101010100000000000000000000000600040307100000030607010100000000000000000000010211213112030741e12233042405061311010001050101000000000000000000000001b1027233046171ffda000c03010002110311003f0054c3abc5d32eed58cad7e3151e663d07c80010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f87578ba65ddab195afc62a3ccc77f21c043abc5d32eed58cad7e3151e662f213411661249b3d6a124d627e3bc22269b4dde7d0c4c06ebdd7e53537e4d366314328676851e8740e0491be1d5e2e99776ac656bf18a8f331dfc87010eaf174cbbb5632b5f8c547998bc84d045984926cf5a8493589f8ef0889a6d3779f431301baf75f94d4df934d98c50ca19da147a1d0381246f28150e2e94bff4af124bdec338a8cf31dfe38028150e2e94bff4af124bdec338a8cf317c4d04598224d9eb4e9233324fc6f8444666d36179f43101baf75f94d4df934d98c50ca19da147a1d038127fffd9),
(9, '05_p1.jpg', 'image/pjpeg', 4484, 0xffd8ffe000104a46494600010100000100010000ffdb0043000302020302020303030304030304050805050404050a070706080c0a0c0c0b0a0b0b0d0e12100d0e110e0b0b1016101113141515150c0f171816141812141514ffdb00430103040405040509050509140d0b0d1414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414ffc0001108004c007e03012200021101031101ffc4001f0000010501010101010100000000000000000102030405060708090a0bffc400b5100002010303020403050504040000017d01020300041105122131410613516107227114328191a1082342b1c11552d1f02433627282090a161718191a25262728292a3435363738393a434445464748494a535455565758595a636465666768696a737475767778797a838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7c8c9cad2d3d4d5d6d7d8d9dae1e2e3e4e5e6e7e8e9eaf1f2f3f4f5f6f7f8f9faffc4001f0100030101010101010101010000000000000102030405060708090a0bffc400b51100020102040403040705040400010277000102031104052131061241510761711322328108144291a1b1c109233352f0156272d10a162434e125f11718191a262728292a35363738393a434445464748494a535455565758595a636465666768696a737475767778797a82838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7c8c9cad2d3d4d5d6d7d8d9dae2e3e4e5e6e7e8e9eaf2f3f4f5f6f7f8f9faffda000c03010002110311003f00fa262b0371710c2085696458c337405980cfd39cd6adf784a5b62c8aba8a483504d36dd353b0168b76e4ca37424c8db940859f0403b086f5153c30186ea191480d1c88e1994900820e4fa8e3a0a82db5236974f776d059e9af2de0d46f1a2b2b876b89048ee11d9e660017918909c91f2823201f76ace716b93fadbfad0f0a9c6124f98cc589e5b08efde7b6b7b19621702e2e2e1618fcb693cb524b118cb7001e4fe1576cade2b98e377b9b68a261088ee2e2ea28d2732b4ab188c96f981304982704804e318625b5d3d8dc59fd97cb816d2dfec56a96eb796c224cb48ec6413876e76af2768c01839046abe83afdfdc477373146434b1dc11143e4ae10dc9455cc876aff00a5b0c7276a28f52737294ba597f5e65c6315ddbfebc8af1688f35c9b6568fed813cc369e72198279862dc63cee03cc565c9e320fa135027d9dbed25751d3a48ad5435c4eb79198a1cb88d43be76a92ccaa01e49ed804d4f7c6faf37c17be4492191da58a46ba48f267927dbe42dc08c8cc8cb9652480a493815724d4f5496e2277940302b470aa4d781c16604b197ed1e6123680aa18280cc7072318f2d5edfd7de6ea549f5febee3355a29a0692178ee22018ac91b655c0cf2a7b8e0f2383d4645666abae693a44a52fefa2b122213169c10817070376319c2b1c7520135d2bc73ddadcc971224d7533cb2b88936202c4908ab938500851924f19279ac6d53c35aa5f6a515cdaea96f6b02c5144d6d71a7c5700e1cb3105864123001e40209c739ab5a6e43d76336ebc5ba269b3dc4571ac5adacf6f218e48e6255d08cf1823a70dc8e383ce78a4b6f15e837933241add9cb32abc8caae72151599cf4fe108c48edb48ea31566efc25e20bf9ee663af585b9799a68923d261764f9f215e465cb8da1413c1ce0738cb4e3c31ada42a5757b017a65767b87d26260c8d1a2ec5181e58c890e7e6e24c1c81cddd588b4aff00d7f99912f8d3c3513ec935db10c46ee189079e9903af6c75e0fa1a56f157872dbca9e7d5adde0903ac72a3385564d9bd4903e523cc5e0f5270075adfd0fc3b77632ccda95eda6aa86341084d36283ca6c9672303852cc481d8607624e8dedac178eb9b3b650adbc621500b71f374e0e1473d7815517ad8892695d950486de25c87662719618207f8d4c972add4007d08a956c8b63393d7a9cd4c9a77438cd36909397d92bf9d9e063f01460b1ce07e55a51e9fed5663d38e3a567eea355ce3bfe116bf320536c402d8de58155f73e83bf3d6b42cfc27044d24b3ceb748aa408941423dc9cff2fc6ba099a54326d5d81ba9dbc91fd2b2d98a304072cc40c6793583ab36bb1d0a8c22f6b8b0fd960d8d05ac11305daac106e1c63af73ee696e6657c37941db1f7dc700e3a0f5fa573de1ff881e0df156bada2691e2ed1753d65439fecfb7bb5695c28258c63fe5a6d5049d9bb0067815d31d3f839e839e4e6b3ba6ef734b34b94a0f1fda61292a2cc9bb277282411d39ea05676a1a24b026f6898c58cac9dbe9f5ae8a1b5319ca920e7391d2aebacb3a00fca30018118cd5a9f2bf74970535a9c6c360014540ca186e241cedff1ad01a484405c1c9e9d39ad85d09e1951cbf96158330401814feef3d063b8e45636b3e19f184fa8ddcda478974eb1b194a2456f79642730e4c438e9f371200092ac665c81b0066e7ccedb7992a1c91bdafe5fd590e934f8638f2ab83ea79cfb55592c0ae0e0f3daac6b3e12f199bb95ec7c41636168f74e634bdd3ccccaace7cb8972000c0145c027254b725f0b561f05fc4978a36b9d7745840693cc68f47625c74880dd80a3852472465864f04256b7c5fd7dc0ef7b28bfc3fcc69b138ca8e9ebd714ab62588c8c63daadbf80fc7aff0060922f10e9f03fd9635be8db4cf310ce10ee78ba6d52c7a1c9c28c1049abda1f853c4fa7961aedfda6a3fbb196b2b136ca1f8cf1ce1786c65b3f3739e31aa924b746528b6f666647a6f4e2aedb6991871e686dbec3af1fe7a57470e8b290a444cc186415524118fd477c8ab9168fe5a12d193b4fcccc384e01c1f4e0e79fad672a8691a673c348894636367aeecf6a7ae9983c74f7ae8bec246411c8201c738279ff0080f073f4e697ec5c9e2b1e766ea2bb183a96f8622496cfb8af02fda47c791f823e0df8cf5a9ed2eb52b68ac8db4905b3323049d840cecca095451216665c9c0e39391f40f89c18e07c0ed5e01f183e34f843e04e8635df18eaed631dc1923b3d3ed13cebed4182fce90c5919003056672a8bb802d92016ec912af73cd575ad1ef9346d53c3fa43f8875cb5c5f687a7c1132092e122678238f6f2ac36f07ef103e61826bed3d2964d534cb2bb9ec64d32e6e2de39e6b099959ed9d9559a262a4825092a48c82578e2bf39f4bf1578a3c6705e7c65f0ade358787b55f0feb9ae59da6a32dadc25a788ecda791ec5e22049297b3b7dd8236b798ef80a0a8ccfd957fe0a81e33bef8b5a2689f17750d127f076b321b793571671583699230fdd48ce9b50c5b8056de06036eddf2e0f8f82c33c1c6517372bbbeaeffa47e67ab8bc42c54a325051b2b68adfe7f23f4dd74d24801327d00ab4961260031e54763e94fb8f14787adbc2f2f891b58d35bc3b1c0b747548ae124b730b0cab875277070548c67764633915aa2257552aa50300c37290d823a107907d8e08e95e9dee70dac66fd846381b4f5cf5c1af2df1bfc3dd1b56d775bb9b9d07c2575aacc2268e5bcd626b3b9b9502307ed0b18fe150db58e71f2600c1cfb32db8af30f16ea5a22f89b5fb6bdd67c356771fe8f108eef480f3c47f74e7cd91830937a90070000500e41257338eb160e319e928dccbbff006930dceb31c3e1ef0d3c0e192532f896e2291b6ba3286c03b184a8bf38c11b40e3a516de10d1343f1047a968f61e1d41190d14d2f89ee1194793b483f33ab9c17c9200da3be722c45aa6891da6a2f2eb9e07325cdc6d9a5fec270b3c8a1a49449ba525b0d246dd7e53904e5862286e74286ee5b49f59f064d7b6577bb514ff846f699608918b467e7e594ab3865e008c1c101b33ed27dd8bd8d3fe55f70c9bc1d69124728d0fc2ce88aa2453e22b9011db7858db00ee56409c9181f37ca40cd4961e17b149c341a4785cdc2b082de11e26b86044be60958f072d828a3824924e4600a974ad4b4995e2b4d335df06235d1449dd34338b972ec51b86556664da3ae33b88c0c0a58356d02789350d2f54f084577676e5a796cb4169804f370a5154ef2c14a8da1b8396208202e66c4763e0db4b4bbfb15a68de174d3a48ede2283c4370d2249b72405ff0065dd8a9182c140e320a965e13b68dddd746f09c735c9682663e24b99098dd763800af2cd16eee3038c90325b16bde1f17161709aef8321b882fa19d8ff00c23ec85222a72065b746e58fde246d2b83ce4575307c34b88ad2dc5b43e10ca02379d0b25c64e1f70907cc504609c104827182006041e0eb2b2d27c44d616d6fa0da22c0f62a2cb5a96e673e4b12b1985c0c1519dc412c318ce07cbde7d8fdab27c35e126d2353d52faf61d167ba9eede6b6b9b0d356de68e3627e591f24bb60e377ca4e4f5ae96a931357381f17db9f21b8fd6bf2f3fe0ab1a725aebff0b35405bcc974ed46d1949e36c5344f903d7f7edcf7c0f4afd58f155b7996ef819eb5f1e7ed79fb2aafed3fe1dd1adb4ed521d1fc5fa1cd31d325bc526d2e566d9e65bcdb41280b468cb200c14ee05486cad3d5109599f9b9f07be3b5cfc3af0aea5e15bd56bad12ef538f5bb552e76dbdd25acf6d2e070313433ed63d73147db35db7ec11fb2cf877f6acf17f8d7c33e25bebcd396c7c33f68b0bbb261badaeccf12a4a50f12281b94c670087382adb58799fc34f8232fc42f18789bc377de28d23c1d7da15b4f249fdab28659e78a5111863da416030ccce010a8858822bdcffe0969e2c9fc1ffb6a693a345343730f8834ed47479a685b744eb1c66e5590f1905ad46091c86e83351d114b73eb0f82dff048ed0fe16f8a06a5aa7c4cbef11e9b2c4d6f7da5dbe8f1d9a5dc6483b59ccb2151955395f9bd08ce6befe61939ebf5249ffebd3b1d734b8154bdd10d000ae72efe2478774dbcb8b5b9d4edadeeadeed6c658a796357462aadb8866cecc3039fd38ae97029e243ec7b723349b19cc37c47f0f9b2d4eec6a10cd0e9eeb1dcf94e92108ccabe66149fddfcc093fecb0ed8acb87e37f8364b486793537b669a3f38452dab160a4e32768201e4704e4679c738ee839072303b7000fc297cd6e791ea7e5a4050d2358875fd26d750b6dc6d2e93cd8c48bc9539e71fae4718fad5b43e5a2a2e111461540c018edede9c539896393c9a40314c429727ae0f057246723d3e94514500145145007906a1fb4e7c18bd88a0f8a9e1219e327568bfc6b88bbf8e1f0a06a514d07c53f07305915b8d5e2f5fad7e750b36863541732305f97e654c9c01fecd352c8b4cb99dfef01f713d7fddaebf62bb9c9eda5d8f0cf1cf8574ff88ffb52f8a7c3fa76b1a759e8bab78d6fe0835bb9997ec905ab5e487ed264720796b1e5f20f2071d6bb1821d2bf63ff00db27c35a8e91e2ab5f15f84341d66d6fadf5cd2e649fed3a64adb6507cb38f31636951c0c64af4c115cc7c3087ed1f1b7c44ecc44908d41d1801904ce109e463a3115a1fb4a5b2a7873439d8f993fda2e221232a8213ca0c578038c8079f4e3bd61ecfdc72b9bfb47cca27edb4bfb547c1959083f14bc2639ce3fb5a13ff00b35569bf6b6f8236ac04df16bc1d13119024d620538ffbeabf2a2ca173a7589370e4fd960fe14ff9e6bfecd74fe15f8c9e37f84d05e59f853c4074bb7d45d66b956d3ed2e0bb01b01ccb0b11851db15b3a492d0c55677d4fd2c5fdaf7e06bb055f8bde0c66638006b501c9ff00beaadffc3547c19ffa2abe12ff00c1b43ffc557e6eea9fb4cfc54f16691a8e87a978cde5d2f55b796c6ee28f48d3632f0ca851c0616a186549190411dabcd87c34d2e34005c5d80005eb1fff001152a977febf02dd5ec7eb5ffc3547c19ffa2a9e12ff00c1b43ffc551ff0d51f067fe8a9f84bff0006f0ff00f155f92c3e1ae9bb0ffa4ddf5c63f77e9fee503e1ae9b8ff008f8ba19ffae7ff00c4552a298bdb33f5a7fe1aa3e0cffd154f097fe0da1ffe2a93fe1aa3e0d7fd153f097e1ab427ff0066afc97ff856ba70c7fa45d73fee7ff1153d9786a0d00b8b5b89f6cc417de10f4ce3b7bd0a9264bacd1fac3ff0d55f063fe8a9f84fff0006b0ff00f154bff0d53f067fe8aa784bff0006d0ff00f155f94e207c91f687ff00be13fc29be4bee3fe90fff007c27f853f62bb8bdb4fb1fab5ff0d55f063fe8a9f84fff000690ff00f1740fdaa7e0ce4ffc5d3f0a7fe0da2ffe2ebf29cdbbe71f687ffbe13fc2945bbe7fe3e1fa7a27f851ec5770f6d3ec7fffd9),
(10, '05_p1.jpg', 'image/pjpeg', 4484, 0xffd8ffe000104a46494600010100000100010000ffdb0043000302020302020303030304030304050805050404050a070706080c0a0c0c0b0a0b0b0d0e12100d0e110e0b0b1016101113141515150c0f171816141812141514ffdb00430103040405040509050509140d0b0d1414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414ffc0001108004c007e03012200021101031101ffc4001f0000010501010101010100000000000000000102030405060708090a0bffc400b5100002010303020403050504040000017d01020300041105122131410613516107227114328191a1082342b1c11552d1f02433627282090a161718191a25262728292a3435363738393a434445464748494a535455565758595a636465666768696a737475767778797a838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7c8c9cad2d3d4d5d6d7d8d9dae1e2e3e4e5e6e7e8e9eaf1f2f3f4f5f6f7f8f9faffc4001f0100030101010101010101010000000000000102030405060708090a0bffc400b51100020102040403040705040400010277000102031104052131061241510761711322328108144291a1b1c109233352f0156272d10a162434e125f11718191a262728292a35363738393a434445464748494a535455565758595a636465666768696a737475767778797a82838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7c8c9cad2d3d4d5d6d7d8d9dae2e3e4e5e6e7e8e9eaf2f3f4f5f6f7f8f9faffda000c03010002110311003f00fa262b0371710c2085696458c337405980cfd39cd6adf784a5b62c8aba8a483504d36dd353b0168b76e4ca37424c8db940859f0403b086f5153c30186ea191480d1c88e1994900820e4fa8e3a0a82db5236974f776d059e9af2de0d46f1a2b2b876b89048ee11d9e660017918909c91f2823201f76ace716b93fadbfad0f0a9c6124f98cc589e5b08efde7b6b7b19621702e2e2e1618fcb693cb524b118cb7001e4fe1576cade2b98e377b9b68a261088ee2e2ea28d2732b4ab188c96f981304982704804e318625b5d3d8dc59fd97cb816d2dfec56a96eb796c224cb48ec6413876e76af2768c01839046abe83afdfdc477373146434b1dc11143e4ae10dc9455cc876aff00a5b0c7276a28f52737294ba597f5e65c6315ddbfebc8af1688f35c9b6568fed813cc369e72198279862dc63cee03cc565c9e320fa135027d9dbed25751d3a48ad5435c4eb79198a1cb88d43be76a92ccaa01e49ed804d4f7c6faf37c17be4492191da58a46ba48f267927dbe42dc08c8cc8cb9652480a493815724d4f5496e2277940302b470aa4d781c16604b197ed1e6123680aa18280cc7072318f2d5edfd7de6ea549f5febee3355a29a0692178ee22018ac91b655c0cf2a7b8e0f2383d4645666abae693a44a52fefa2b122213169c10817070376319c2b1c7520135d2bc73ddadcc971224d7533cb2b88936202c4908ab938500851924f19279ac6d53c35aa5f6a515cdaea96f6b02c5144d6d71a7c5700e1cb3105864123001e40209c739ab5a6e43d76336ebc5ba269b3dc4571ac5adacf6f218e48e6255d08cf1823a70dc8e383ce78a4b6f15e837933241add9cb32abc8caae72151599cf4fe108c48edb48ea31566efc25e20bf9ee663af585b9799a68923d261764f9f215e465cb8da1413c1ce0738cb4e3c31ada42a5757b017a65767b87d26260c8d1a2ec5181e58c890e7e6e24c1c81cddd588b4aff00d7f99912f8d3c3513ec935db10c46ee189079e9903af6c75e0fa1a56f157872dbca9e7d5adde0903ac72a3385564d9bd4903e523cc5e0f5270075adfd0fc3b77632ccda95eda6aa86341084d36283ca6c9672303852cc481d8607624e8dedac178eb9b3b650adbc621500b71f374e0e1473d7815517ad8892695d950486de25c87662719618207f8d4c972add4007d08a956c8b63393d7a9cd4c9a77438cd36909397d92bf9d9e063f01460b1ce07e55a51e9fed5663d38e3a567eea355ce3bfe116bf320536c402d8de58155f73e83bf3d6b42cfc27044d24b3ceb748aa408941423dc9cff2fc6ba099a54326d5d81ba9dbc91fd2b2d98a304072cc40c6793583ab36bb1d0a8c22f6b8b0fd960d8d05ac11305daac106e1c63af73ee696e6657c37941db1f7dc700e3a0f5fa573de1ff881e0df156bada2691e2ed1753d65439fecfb7bb5695c28258c63fe5a6d5049d9bb0067815d31d3f839e839e4e6b3ba6ef734b34b94a0f1fda61292a2cc9bb277282411d39ea05676a1a24b026f6898c58cac9dbe9f5ae8a1b5319ca920e7391d2aebacb3a00fca30018118cd5a9f2bf74970535a9c6c360014540ca186e241cedff1ad01a484405c1c9e9d39ad85d09e1951cbf96158330401814feef3d063b8e45636b3e19f184fa8ddcda478974eb1b194a2456f79642730e4c438e9f371200092ac665c81b0066e7ccedb7992a1c91bdafe5fd590e934f8638f2ab83ea79cfb55592c0ae0e0f3daac6b3e12f199bb95ec7c41636168f74e634bdd3ccccaace7cb8972000c0145c027254b725f0b561f05fc4978a36b9d7745840693cc68f47625c74880dd80a3852472465864f04256b7c5fd7dc0ef7b28bfc3fcc69b138ca8e9ebd714ab62588c8c63daadbf80fc7aff0060922f10e9f03fd9635be8db4cf310ce10ee78ba6d52c7a1c9c28c1049abda1f853c4fa7961aedfda6a3fbb196b2b136ca1f8cf1ce1786c65b3f3739e31aa924b746528b6f666647a6f4e2aedb6991871e686dbec3af1fe7a57470e8b290a444cc186415524118fd477c8ab9168fe5a12d193b4fcccc384e01c1f4e0e79fad672a8691a673c348894636367aeecf6a7ae9983c74f7ae8bec246411c8201c738279ff0080f073f4e697ec5c9e2b1e766ea2bb183a96f8622496cfb8af02fda47c791f823e0df8cf5a9ed2eb52b68ac8db4905b3323049d840cecca095451216665c9c0e39391f40f89c18e07c0ed5e01f183e34f843e04e8635df18eaed631dc1923b3d3ed13cebed4182fce90c5919003056672a8bb802d92016ec912af73cd575ad1ef9346d53c3fa43f8875cb5c5f687a7c1132092e122678238f6f2ac36f07ef103e61826bed3d2964d534cb2bb9ec64d32e6e2de39e6b099959ed9d9559a262a4825092a48c82578e2bf39f4bf1578a3c6705e7c65f0ade358787b55f0feb9ae59da6a32dadc25a788ecda791ec5e22049297b3b7dd8236b798ef80a0a8ccfd957fe0a81e33bef8b5a2689f17750d127f076b321b793571671583699230fdd48ce9b50c5b8056de06036eddf2e0f8f82c33c1c6517372bbbeaeffa47e67ab8bc42c54a325051b2b68adfe7f23f4dd74d24801327d00ab4961260031e54763e94fb8f14787adbc2f2f891b58d35bc3b1c0b747548ae124b730b0cab875277070548c67764633915aa2257552aa50300c37290d823a107907d8e08e95e9dee70dac66fd846381b4f5cf5c1af2df1bfc3dd1b56d775bb9b9d07c2575aacc2268e5bcd626b3b9b9502307ed0b18fe150db58e71f2600c1cfb32db8af30f16ea5a22f89b5fb6bdd67c356771fe8f108eef480f3c47f74e7cd91830937a90070000500e41257338eb160e319e928dccbbff006930dceb31c3e1ef0d3c0e192532f896e2291b6ba3286c03b184a8bf38c11b40e3a516de10d1343f1047a968f61e1d41190d14d2f89ee1194793b483f33ab9c17c9200da3be722c45aa6891da6a2f2eb9e07325cdc6d9a5fec270b3c8a1a49449ba525b0d246dd7e53904e5862286e74286ee5b49f59f064d7b6577bb514ff846f699608918b467e7e594ab3865e008c1c101b33ed27dd8bd8d3fe55f70c9bc1d69124728d0fc2ce88aa2453e22b9011db7858db00ee56409c9181f37ca40cd4961e17b149c341a4785cdc2b082de11e26b86044be60958f072d828a3824924e4600a974ad4b4995e2b4d335df06235d1449dd34338b972ec51b86556664da3ae33b88c0c0a58356d02789350d2f54f084577676e5a796cb4169804f370a5154ef2c14a8da1b8396208202e66c4763e0db4b4bbfb15a68de174d3a48ede2283c4370d2249b72405ff0065dd8a9182c140e320a965e13b68dddd746f09c735c9682663e24b99098dd763800af2cd16eee3038c90325b16bde1f17161709aef8321b882fa19d8ff00c23ec85222a72065b746e58fde246d2b83ce4575307c34b88ad2dc5b43e10ca02379d0b25c64e1f70907cc504609c104827182006041e0eb2b2d27c44d616d6fa0da22c0f62a2cb5a96e673e4b12b1985c0c1519dc412c318ce07cbde7d8fdab27c35e126d2353d52faf61d167ba9eede6b6b9b0d356de68e3627e591f24bb60e377ca4e4f5ae96a931357381f17db9f21b8fd6bf2f3fe0ab1a725aebff0b35405bcc974ed46d1949e36c5344f903d7f7edcf7c0f4afd58f155b7996ef819eb5f1e7ed79fb2aafed3fe1dd1adb4ed521d1fc5fa1cd31d325bc526d2e566d9e65bcdb41280b468cb200c14ee05486cad3d5109599f9b9f07be3b5cfc3af0aea5e15bd56bad12ef538f5bb552e76dbdd25acf6d2e070313433ed63d73147db35db7ec11fb2cf877f6acf17f8d7c33e25bebcd396c7c33f68b0bbb261badaeccf12a4a50f12281b94c670087382adb58799fc34f8232fc42f18789bc377de28d23c1d7da15b4f249fdab28659e78a5111863da416030ccce010a8858822bdcffe0969e2c9fc1ffb6a693a345343730f8834ed47479a685b744eb1c66e5590f1905ad46091c86e83351d114b73eb0f82dff048ed0fe16f8a06a5aa7c4cbef11e9b2c4d6f7da5dbe8f1d9a5dc6483b59ccb2151955395f9bd08ce6befe61939ebf5249ffebd3b1d734b8154bdd10d000ae72efe2478774dbcb8b5b9d4edadeeadeed6c658a796357462aadb8866cecc3039fd38ae97029e243ec7b723349b19cc37c47f0f9b2d4eec6a10cd0e9eeb1dcf94e92108ccabe66149fddfcc093fecb0ed8acb87e37f8364b486793537b669a3f38452dab160a4e32768201e4704e4679c738ee839072303b7000fc297cd6e791ea7e5a4050d2358875fd26d750b6dc6d2e93cd8c48bc9539e71fae4718fad5b43e5a2a2e111461540c018edede9c539896393c9a40314c429727ae0f057246723d3e94514500145145007906a1fb4e7c18bd88a0f8a9e1219e327568bfc6b88bbf8e1f0a06a514d07c53f07305915b8d5e2f5fad7e750b36863541732305f97e654c9c01fecd352c8b4cb99dfef01f713d7fddaebf62bb9c9eda5d8f0cf1cf8574ff88ffb52f8a7c3fa76b1a759e8bab78d6fe0835bb9997ec905ab5e487ed264720796b1e5f20f2071d6bb1821d2bf63ff00db27c35a8e91e2ab5f15f84341d66d6fadf5cd2e649fed3a64adb6507cb38f31636951c0c64af4c115cc7c3087ed1f1b7c44ecc44908d41d1801904ce109e463a3115a1fb4a5b2a7873439d8f993fda2e221232a8213ca0c578038c8079f4e3bd61ecfdc72b9bfb47cca27edb4bfb547c1959083f14bc2639ce3fb5a13ff00b35569bf6b6f8236ac04df16bc1d13119024d620538ffbeabf2a2ca173a7589370e4fd960fe14ff9e6bfecd74fe15f8c9e37f84d05e59f853c4074bb7d45d66b956d3ed2e0bb01b01ccb0b11851db15b3a492d0c55677d4fd2c5fdaf7e06bb055f8bde0c66638006b501c9ff00beaadffc3547c19ffa2abe12ff00c1b43ffc557e6eea9fb4cfc54f16691a8e87a978cde5d2f55b796c6ee28f48d3632f0ca851c0616a186549190411dabcd87c34d2e34005c5d80005eb1fff001152a977febf02dd5ec7eb5ffc3547c19ffa2a9e12ff00c1b43ffc551ff0d51f067fe8a9f84bff0006f0ff00f155f92c3e1ae9bb0ffa4ddf5c63f77e9fee503e1ae9b8ff008f8ba19ffae7ff00c4552a298bdb33f5a7fe1aa3e0cffd154f097fe0da1ffe2a93fe1aa3e0d7fd153f097e1ab427ff0066afc97ff856ba70c7fa45d73fee7ff1153d9786a0d00b8b5b89f6cc417de10f4ce3b7bd0a9264bacd1fac3ff0d55f063fe8a9f84fff0006b0ff00f154bff0d53f067fe8aa784bff0006d0ff00f155f94e207c91f687ff00be13fc29be4bee3fe90fff007c27f853f62bb8bdb4fb1fab5ff0d55f063fe8a9f84fff000690ff00f1740fdaa7e0ce4ffc5d3f0a7fe0da2ffe2ebf29cdbbe71f687ffbe13fc2945bbe7fe3e1fa7a27f851ec5770f6d3ec7fffd9);
INSERT INTO `upload` (`uploadid`, `name`, `type`, `size`, `content`) VALUES
(11, 'Beaufieldmewssm.jpg', 'image/pjpeg', 16427, 0xffd8ffe000104a46494600010201004800480000ffe10c214578696600004d4d002a000000080007011200030000000100010000011a00050000000100000062011b0005000000010000006a01280003000000010002000001310002000000140000007201320002000000140000008687690004000000010000009c000000c80000004800000001000000480000000141646f62652050686f746f73686f7020372e3000323030393a30343a32332032333a31373a32300000000003a001000300000001ffff0000a00200040000000100000096a0030004000000010000004c0000000000000006010300030000000100060000011a00050000000100000116011b0005000000010000011e012800030000000100020000020100040000000100000126020200040000000100000af30000000000000048000000010000004800000001ffd8ffe000104a46494600010201004800480000ffed000c41646f62655f434d0002ffee000e41646f626500648000000001ffdb0084000c08080809080c09090c110b0a0b11150f0c0c0f1518131315131318110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010d0b0b0d0e0d100e0e10140e0e0e14140e0e0e0e14110c0c0c0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc00011080041008003012200021101031101ffdd00040008ffc4013f0000010501010101010100000000000000030001020405060708090a0b0100010501010101010100000000000000010002030405060708090a0b1000010401030204020507060805030c33010002110304211231054151611322718132061491a1b14223241552c16233347282d14307259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b384c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607070605350100021103213112044151617122130532819114a1b14223c152d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03010002110311003f00f4accccaf0f19b6b9aeb2c7c36aa9925cf79fa2c6aaad7fd6274d9e8e3b19a450e7b8be3977e99bfa3dff98a47118cb0fa76dcc75e7d57c386d048fcdddf43fb28031836c6d61b63a86930f3683cc3ddfa3febb777d3fe5a61049f988f01a324680f96fc48b6ef4fcdfb652ef52a763e55276e463b8c963e376df507b2d66dfa36d7ec4df6db3d1167d9addc5db7d3f6ef889f53f9ed9b3fb6877536558f66c759bdb53cd437684b46e0d7c176ef72e2ff00e7de4e6e28af1198d9595616b36d2e240046eb6dd8e6b5ed6b7f9bdffe0d3e00d7a8fd564c8bb03e8f76ec978b1ecf45e431bb9af05bb5c627d3aff4bbbd4febb5898e55de9b1e316e25d32c1b37363f7ff4fb7dff009bb5eb85bfad35f5e4574f4ebd975058cbc58faecfa7b61cc7d6eddecf5375bff03fa55c7f5abf25d61de7d31bdcd0c63dc7407f9cdcd3b363ff003509c84763c5f832e1c3ee75e1fa5bed36655ec7068c5b9e080773761027f34eebdaedccfcef6a99beef59d5fd9ec2002459edda604fb7f4bbfddfd45f3ffab69e6c7ff9eeff00c92d2c7cdc73875d77db57acd0e9360b0bcee768db2f66555bb6b7fe0ff475a67bbe0cc79123f4ff00e6bedf8b7597ee36516d1b62059b4133fbbe95b723ed1e7f795e0f6dd8af80ccb6e36d99341b0178f0b37e4bfe87f834326b1ff7aaf3e10e746bff005eff00392f73c3f147dcbfafff0035f7cda3cfef296d1e7f795e045cc13fe54798e21efd7ff0652f676eaaee7bbde3ff0046a5ee787e29fb97f5ff00e697def68f3fbca5b479fde5780596d75869fda573f74c86171208fdefd3b7dae51fb557ff0073f27fe97fef4a5eef87e2afb89fdfff009a5fa0768f3fbca45a23b8f995f3efdaab83faf64cf6fa5ffbd0ba9ff16d70b3eb5303726ebc7d9eed2c9039affe16d4464b354b67ca18c4cb8ae85fcaff00ffd0f46beca58f6faae2dfd18221b33088cbf11e5c196ec1a1e768d7f76557cb7016d4392582078ebfed55c564b37417b1ba13ac06fd2b18e7fe6ff2dc9c2208b640340dbead635dd3f26c63fdbf66bc87b7dd10dfa43faabc7beaed1d3321e28a2c7d4dbb6fab731ce7bdad86b87a4c35fa6c7ef1fe11fea33f7d7b11a464618a7284b2ea6c6d809dbec700ddbb99f43f46b1b0fea7fd5ec3adacc6c76575cc00dcab60e9f0f73f72690b29e4b27eadf4dc4adcec1bac07fe11ad998dbb5cf6b77fa7b7d8f6ff00845cb66e38c5afecd5169a9bc69eee67577e72f61b7eaaf4eb5b0fc69f2fb45a3fefaaad9fe2e3eaa5a66cc6b09eff00a7b7ff0026a39409d9b1833471fcd7f47c695cc7ca7575319ead4d0342d7b2c26376ff0071afdbf4bdfed5eadff8d97d4fff00b8b67fdbd6ff00e944bff1b2fa9fff00716cff00b7adff00d289bedcbc1b079cc47a4bec0f96fdb5c46b7d2371f70f4edd7f949fedf61ff0f4b4f722bb27fd5cbd47ff001b2fa9ff00f716cffb7adffd28aaf54ff17ff54b03a6e4e6b301f7bb1aa75ada7ed36337968ddb3d473ddb377efa3c12f047def0f697d917ce0e6b9c20e450d91a1f4edf6ff5507d7b7696fdb816f106b76a3fedb5dbe3f41fa8b7bfd2af0b7dcd6efbd8cccb0fa5a7f85dc58ed9bbdbbdad46a7eaa7d55bf22ba2ae94e7bad658f66dcd713fa31b9a36effa36fe659f4134e8402459dbeaa1cde2ed2fb22f9f9cccb6b886dee701a07000023e0e6a88cccb00816b803a1d071fe6aee7ac749ff17dd2733170adc27db9190efd2b2bc97b8d55edddeabb6bddea3f4fd1e3b3f4b6a3d1f54fa03ef3ebf417d783e8befab2eacdb6df503435edd95c56c6ef63ff00c2dd5a5c275d469a95df7ac740f04b5fea87cffed99933eaba7c74f87eeaea3fc5adb6dbf5b58eb5c5ee18b6804c700d7e0b69ff00563ea69c475f474ac87da417d18f6dd752eb191ec7efb7f475faaefcc7bbfe33f4bfa246fa8d5fd57b3aa9b7a6e03f0b36aaac1636cbdf616c3995db5ed7fe8acf77e7d6f4d84e26400903aff591973038e40408d08b222fffd1f43cc763b5f5fafbff009b05bb003c4ccee516dbd3f63c7d9dc1ad92e6c8d411fd7f7ee45c80c36561e2b0056097bc0dc3b7e8ddfbc87fb32adbb43ed1e60367ff003ca37a26cf76e3a4fa70d226b77b3491a37db3f4556fb28d9b3d0b207b81ded992008fa48f43031ed6c3890d82f7f27fb50df77ef2b2821a5e8458efd5dce6bc43a5cddba71eddc8cc7d8c6b5ada08688006e6e823fadf9a8e924a43eadf07f4074fe5375fc549b65a5e01a8b5a449748d0feef288924a52a3d729befe8d9d46380ebeda2c6541d11b9cd2d6176f0e6fb5caf285addd53dba9904434807e52929f35e91f54baaf4b735b5e2d39763aa2dbf3039ac7004fe9b1321d7bfdf55d3b77d353ff0040b4f0fa3f52a2fbf3bf65b668c77d755156455bdc6cfd13aaa5eddacc5db5fd073d7595e0877d3f5191ac38b4cff9b2a4ec1f4eab454e739ce6c06920779fe4a61c5132e324dfe092058f0f178fb3ea563750c8b737258fc66e4bcdbf64b5f5d4e63b68602c38ff006a6efa767e8b659ec57aefab469e8d7f4d76eb70afa86fa9b6cefb05b5dbf687e53fd1d96bff00d163d0caac5bb56058efe77f4606a620927c41f723db8a198ef14b4b9e40805c4cc1ddf9eed897b50b275d7f6b21cd33409edf83c67fcdacceaf96c767ef14d0d616377b771f4d8ea995ef9dfbbfe1958fa9ff0055afe8fd6aeca752faa9bb1584916b6c61bde5bf6b63e1c5dea56ead9b5eba5ab05ef6fe909adc0f910473fbcef6abb5d55d4cd958dad09a30444b881369966918f0f47fffd2f497b1ceb5843439a2b6ccb770e7f37f949bed18bea7a3bc7ab31b3499f08daac0aeb735a5dc8681cc28fd971376ff004dbbe677779feb24a55622de1c3dbdf847506b2a69dcde789952dc3c424a5d2427d41ee27d57b67b35d0147d1111eb3f99fa49274ee9d242f4869fa5769fcae7e29bd11a7e95fa19fa492b4ee99242f487fa477f9c9852008f55ff00e724ad3ba6495618a3fee45a759fa63fb912bac30cfa8e7c888719495a774a926dcdf1096e6f88490ba6296e6f884c5cd8e424a7ffd3f52eea2be5a492087ea6497cb2922a7ea62997cb4922a7ea6092f9652414fd4c92f9652494fd4c92f9652454fd4e3848f0be5849053f5324395f2ca48a1fffd9ffed10dc50686f746f73686f7020332e30003842494d0425000000000010000000000000000000000000000000003842494d03ed000000000010004800000001000200480000000100023842494d042600000000000e000000000000000000003f8000003842494d040d000000000004000000783842494d04190000000000040000001e3842494d03f3000000000009000000000000000001003842494d040a00000000000100003842494d271000000000000a000100000000000000023842494d03f5000000000048002f66660001006c66660006000000000001002f6666000100a1999a0006000000000001003200000001005a00000006000000000001003500000001002d000000060000000000013842494d03f80000000000700000ffffffffffffffffffffffffffffffffffffffffffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e800000000ffffffffffffffffffffffffffffffffffffffffffff03e800003842494d040000000000000200013842494d0402000000000004000000003842494d0408000000000010000000010000024000000240000000003842494d041e000000000004000000003842494d041a0000000003490000000600000000000000000000004c000000960000000a0055006e007400690074006c00650064002d00310000000100000000000000000000000000000000000000010000000000000000000000960000004c00000000000000000000000000000000010000000000000000000000000000000000000010000000010000000000006e756c6c0000000200000006626f756e64734f626a6300000001000000000000526374310000000400000000546f70206c6f6e6700000000000000004c6566746c6f6e67000000000000000042746f6d6c6f6e670000004c00000000526768746c6f6e670000009600000006736c69636573566c4c73000000014f626a6300000001000000000005736c6963650000001200000007736c69636549446c6f6e67000000000000000767726f757049446c6f6e6700000000000000066f726967696e656e756d0000000c45536c6963654f726967696e0000000d6175746f47656e6572617465640000000054797065656e756d0000000a45536c6963655479706500000000496d672000000006626f756e64734f626a6300000001000000000000526374310000000400000000546f70206c6f6e6700000000000000004c6566746c6f6e67000000000000000042746f6d6c6f6e670000004c00000000526768746c6f6e67000000960000000375726c54455854000000010000000000006e756c6c54455854000000010000000000004d7367655445585400000001000000000006616c74546167544558540000000100000000000e63656c6c54657874497348544d4c626f6f6c010000000863656c6c546578745445585400000001000000000009686f727a416c69676e656e756d0000000f45536c696365486f727a416c69676e0000000764656661756c740000000976657274416c69676e656e756d0000000f45536c69636556657274416c69676e0000000764656661756c740000000b6267436f6c6f7254797065656e756d0000001145536c6963654247436f6c6f7254797065000000004e6f6e6500000009746f704f75747365746c6f6e67000000000000000a6c6566744f75747365746c6f6e67000000000000000c626f74746f6d4f75747365746c6f6e67000000000000000b72696768744f75747365746c6f6e6700000000003842494d041100000000000101003842494d0414000000000004000000023842494d040c000000000b0f000000010000008000000041000001800000618000000af300180001ffd8ffe000104a46494600010201004800480000ffed000c41646f62655f434d0002ffee000e41646f626500648000000001ffdb0084000c08080809080c09090c110b0a0b11150f0c0c0f1518131315131318110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010d0b0b0d0e0d100e0e10140e0e0e14140e0e0e0e14110c0c0c0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc00011080041008003012200021101031101ffdd00040008ffc4013f0000010501010101010100000000000000030001020405060708090a0b0100010501010101010100000000000000010002030405060708090a0b1000010401030204020507060805030c33010002110304211231054151611322718132061491a1b14223241552c16233347282d14307259253f0e1f163733516a2b283264493546445c2a3743617d255e265f2b384c3d375e3f3462794a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f637475767778797a7b7c7d7e7f711000202010204040304050607070605350100021103213112044151617122130532819114a1b14223c152d1f0332462e1728292435315637334f1250616a2b283072635c2d2449354a317644555367465e2f2b384c3d375e3f34694a485b495c4d4e4f4a5b5c5d5e5f55666768696a6b6c6d6e6f62737475767778797a7b7c7ffda000c03010002110311003f00f4accccaf0f19b6b9aeb2c7c36aa9925cf79fa2c6aaad7fd6274d9e8e3b19a450e7b8be3977e99bfa3dff98a47118cb0fa76dcc75e7d57c386d048fcdddf43fb28031836c6d61b63a86930f3683cc3ddfa3febb777d3fe5a61049f988f01a324680f96fc48b6ef4fcdfb652ef52a763e55276e463b8c963e376df507b2d66dfa36d7ec4df6db3d1167d9addc5db7d3f6ef889f53f9ed9b3fb6877536558f66c759bdb53cd437684b46e0d7c176ef72e2ff00e7de4e6e28af1198d9595616b36d2e240046eb6dd8e6b5ed6b7f9bdffe0d3e00d7a8fd564c8bb03e8f76ec978b1ecf45e431bb9af05bb5c627d3aff4bbbd4febb5898e55de9b1e316e25d32c1b37363f7ff4fb7dff009bb5eb85bfad35f5e4574f4ebd975058cbc58faecfa7b61cc7d6eddecf5375bff03fa55c7f5abf25d61de7d31bdcd0c63dc7407f9cdcd3b363ff003509c84763c5f832e1c3ee75e1fa5bed36655ec7068c5b9e080773761027f34eebdaedccfcef6a99beef59d5fd9ec2002459edda604fb7f4bbfddfd45f3ffab69e6c7ff9eeff00c92d2c7cdc73875d77db57acd0e9360b0bcee768db2f66555bb6b7fe0ff475a67bbe0cc79123f4ff00e6bedf8b7597ee36516d1b62059b4133fbbe95b723ed1e7f795e0f6dd8af80ccb6e36d99341b0178f0b37e4bfe87f834326b1ff7aaf3e10e746bff005eff00392f73c3f147dcbfafff0035f7cda3cfef296d1e7f795e045cc13fe54798e21efd7ff0652f676eaaee7bbde3ff0046a5ee787e29fb97f5ff00e697def68f3fbca5b479fde5780596d75869fda573f74c86171208fdefd3b7dae51fb557ff0073f27fe97fef4a5eef87e2afb89fdfff009a5fa0768f3fbca45a23b8f995f3efdaab83faf64cf6fa5ffbd0ba9ff16d70b3eb5303726ebc7d9eed2c9039affe16d4464b354b67ca18c4cb8ae85fcaff00ffd0f46beca58f6faae2dfd18221b33088cbf11e5c196ec1a1e768d7f76557cb7016d4392582078ebfed55c564b37417b1ba13ac06fd2b18e7fe6ff2dc9c2208b640340dbead635dd3f26c63fdbf66bc87b7dd10dfa43faabc7beaed1d3321e28a2c7d4dbb6fab731ce7bdad86b87a4c35fa6c7ef1fe11fea33f7d7b11a464618a7284b2ea6c6d809dbec700ddbb99f43f46b1b0fea7fd5ec3adacc6c76575cc00dcab60e9f0f73f72690b29e4b27eadf4dc4adcec1bac07fe11ad998dbb5cf6b77fa7b7d8f6ff00845cb66e38c5afecd5169a9bc69eee67577e72f61b7eaaf4eb5b0fc69f2fb45a3fefaaad9fe2e3eaa5a66cc6b09eff00a7b7ff0026a39409d9b1833471fcd7f47c695cc7ca7575319ead4d0342d7b2c26376ff0071afdbf4bdfed5eadff8d97d4fff00b8b67fdbd6ff00e944bff1b2fa9fff00716cff00b7adff00d289bedcbc1b079cc47a4bec0f96fdb5c46b7d2371f70f4edd7f949fedf61ff0f4b4f722bb27fd5cbd47ff001b2fa9ff00f716cffb7adffd28aaf54ff17ff54b03a6e4e6b301f7bb1aa75ada7ed36337968ddb3d473ddb377efa3c12f047def0f697d917ce0e6b9c20e450d91a1f4edf6ff5507d7b7696fdb816f106b76a3fedb5dbe3f41fa8b7bfd2af0b7dcd6efbd8cccb0fa5a7f85dc58ed9bbdbbdad46a7eaa7d55bf22ba2ae94e7bad658f66dcd713fa31b9a36effa36fe659f4134e8402459dbeaa1cde2ed2fb22f9f9cccb6b886dee701a07000023e0e6a88cccb00816b803a1d071fe6aee7ac749ff17dd2733170adc27db9190efd2b2bc97b8d55edddeabb6bddea3f4fd1e3b3f4b6a3d1f54fa03ef3ebf417d783e8befab2eacdb6df503435edd95c56c6ef63ff00c2dd5a5c275d469a95df7ac740f04b5fea87cffed99933eaba7c74f87eeaea3fc5adb6dbf5b58eb5c5ee18b6804c700d7e0b69ff00563ea69c475f474ac87da417d18f6dd752eb191ec7efb7f475faaefcc7bbfe33f4bfa246fa8d5fd57b3aa9b7a6e03f0b36aaac1636cbdf616c3995db5ed7fe8acf77e7d6f4d84e26400903aff591973038e40408d08b222fffd1f43cc763b5f5fafbff009b05bb003c4ccee516dbd3f63c7d9dc1ad92e6c8d411fd7f7ee45c80c36561e2b0056097bc0dc3b7e8ddfbc87fb32adbb43ed1e60367ff003ca37a26cf76e3a4fa70d226b77b3491a37db3f4556fb28d9b3d0b207b81ded992008fa48f43031ed6c3890d82f7f27fb50df77ef2b2821a5e8458efd5dce6bc43a5cddba71eddc8cc7d8c6b5ada08688006e6e823fadf9a8e924a43eadf07f4074fe5375fc549b65a5e01a8b5a449748d0feef288924a52a3d729befe8d9d46380ebeda2c6541d11b9cd2d6176f0e6fb5caf285addd53dba9904434807e52929f35e91f54baaf4b735b5e2d39763aa2dbf3039ac7004fe9b1321d7bfdf55d3b77d353ff0040b4f0fa3f52a2fbf3bf65b668c77d755156455bdc6cfd13aaa5eddacc5db5fd073d7595e0877d3f5191ac38b4cff9b2a4ec1f4eab454e739ce6c06920779fe4a61c5132e324dfe092058f0f178fb3ea563750c8b737258fc66e4bcdbf64b5f5d4e63b68602c38ff006a6efa767e8b659ec57aefab469e8d7f4d76eb70afa86fa9b6cefb05b5dbf687e53fd1d96bff00d163d0caac5bb56058efe77f4606a620927c41f723db8a198ef14b4b9e40805c4cc1ddf9eed897b50b275d7f6b21cd33409edf83c67fcdacceaf96c767ef14d0d616377b771f4d8ea995ef9dfbbfe1958fa9ff0055afe8fd6aeca752faa9bb1584916b6c61bde5bf6b63e1c5dea56ead9b5eba5ab05ef6fe909adc0f910473fbcef6abb5d55d4cd958dad09a30444b881369966918f0f47fffd2f497b1ceb5843439a2b6ccb770e7f37f949bed18bea7a3bc7ab31b3499f08daac0aeb735a5dc8681cc28fd971376ff004dbbe677779feb24a55622de1c3dbdf847506b2a69dcde789952dc3c424a5d2427d41ee27d57b67b35d0147d1111eb3f99fa49274ee9d242f4869fa5769fcae7e29bd11a7e95fa19fa492b4ee99242f487fa477f9c9852008f55ff00e724ad3ba6495618a3fee45a759fa63fb912bac30cfa8e7c888719495a774a926dcdf1096e6f88490ba6296e6f884c5cd8e424a7ffd3f52eea2be5a492087ea6497cb2922a7ea62997cb4922a7ea6092f9652414fd4c92f9652494fd4c92f9652454fd4e3848f0be5849053f5324395f2ca48a1fffd9003842494d042100000000005500000001010000000f00410064006f00620065002000500068006f0074006f00730068006f00700000001300410064006f00620065002000500068006f0074006f00730068006f007000200037002e003000000001003842494d04060000000000070004000000010100ffe11248687474703a2f2f6e732e61646f62652e636f6d2f7861702f312e302f003c3f787061636b657420626567696e3d27efbbbf272069643d2757354d304d7043656869487a7265537a4e54637a6b633964273f3e0a3c3f61646f62652d7861702d66696c74657273206573633d224352223f3e0a3c783a7861706d65746120786d6c6e733a783d2761646f62653a6e733a6d6574612f2720783a786170746b3d27584d5020746f6f6c6b697420322e382e322d33332c206672616d65776f726b20312e35273e0a3c7264663a52444620786d6c6e733a7264663d27687474703a2f2f7777772e77332e6f72672f313939392f30322f32322d7264662d73796e7461782d6e73232720786d6c6e733a69583d27687474703a2f2f6e732e61646f62652e636f6d2f69582f312e302f273e0a0a203c7264663a4465736372697074696f6e2061626f75743d27757569643a38363430336231372d333035332d313164652d386461652d393335343666636566343162270a2020786d6c6e733a7861704d4d3d27687474703a2f2f6e732e61646f62652e636f6d2f7861702f312e302f6d6d2f273e0a20203c7861704d4d3a446f63756d656e7449443e61646f62653a646f6369643a70686f746f73686f703a38363430336231352d333035332d313164652d386461652d3933353436666365663431623c2f7861704d4d3a446f63756d656e7449443e0a203c2f7264663a4465736372697074696f6e3e0a0a3c2f7264663a5244463e0a3c2f783a7861706d6574613e0a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200a3c3f787061636b657420656e643d2777273f3effee000e41646f626500640000000001ffdb0084000604040405040605050609060506090b080606080b0c0a0a0b0a0a0c100c0c0c0c0c0c100c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010707070d0c0d18101018140e0e0e14140e0e0e0e14110c0c0c0c0c11110c0c0c0c0c0c110c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0cffc0001108004c009603011100021101031101ffdd00040013ffc401a20000000701010101010000000000000000040503020601000708090a0b0100020203010101010100000000000000010002030405060708090a0b1000020103030204020607030402060273010203110400052112314151061361227181143291a10715b14223c152d1e1331662f0247282f12543345392a2b26373c235442793a3b33617546474c3d2e2082683090a181984944546a4b456d355281af2e3f3c4d4e4f465758595a5b5c5d5e5f566768696a6b6c6d6e6f637475767778797a7b7c7d7e7f738485868788898a8b8c8d8e8f82939495969798999a9b9c9d9e9f92a3a4a5a6a7a8a9aaabacadaeafa110002020102030505040506040803036d0100021103042112314105511361220671819132a1b1f014c1d1e1234215526272f1332434438216925325a263b2c20773d235e2448317549308090a18192636451a2764745537f2a3b3c32829d3e3f38494a4b4c4d4e4f465758595a5b5c5d5e5f5465666768696a6b6c6d6e6f6475767778797a7b7c7d7e7f738485868788898a8b8c8d8e8f839495969798999a9b9c9d9e9f92a3a4a5a6a7a8a9aaabacadaeafaffda000c03010002110311003f00f4fcb716d6d666e6e64f4e244e7248cc4002953df2329002ca63124d06389e64f30ea0e8fa468ee6ccd5bd7ba731f351b7c22a3a9e9fe4e628d46497d31dbfa4e578108fd52dff00a289d2bcd065d44695ab594ba6df950637727d0998d6ab0bd7e2614af1c9e3d45cb8643865fec64c7269ea3c513c51ff006499ea5a95bd8bc4b273fded78f1595f7069bf0069d7be64b8cb06ab01be6b201fd65a93f0cbc68057edfd8ff86c554575fb46b592e42cbe9c4ca8ff00bb9c302db7d82391f9818ab72ebd691470c8c25e33a9642239cec0d3700557fd962ad5cf982cedbd2f504b49904885639dc50f8f1078fc9b1574fafd9c31432bfa9c2740f1958e66d89a6e00257fd962ad5c7986cedee96da412faac148e31cecbf10047c4a0af7f1c5539f4d7dffe08ff005c55de9afbff00c11feb8dabbd35f7ff00823fd71b577a6befff00047fae2aef4d7dff00e08ff5c55de9afbffc11feb8abbd35f7ff00823fd71577a6beff00f047fae2ad18c721bb53b8a9dff1c55fffd0f415fe9fa9ba4a971736f3da4eeb25bdbcebfdd85a53baf21ff1b65728710a3b86d84eb97343dc6a3aa5a7213ea30c665a3451aa13c4211b0e27ec71ed868a3657105c5ca44d733c574a94785a455628fd43835561ff0034e572c649dd98c80724bbcd1e7983cb9a94169ab7294dcc0258e781088d406e2796fdce64638023d45a272ee62f7ff9afa14daa258457e6c4f1e72dd4bcc440b0a84aef43c7e2fb3c732a11c239eed24cba25dadfe60dbdb5a27d4f5b37464a98a7825f5038dc8e23af4cc7ca620fa7673b0478b9bca75ffce4f3d821ac35bba8e06a88a41c6877ec4a9ae614f249dc61d2623ce292ff00cae7fcd3a01fe24bad853fdd7ff34e4066977b93f92c3fcd09f796bf37bf316ea2ba4bbd7350999020b77b77b38cab3135e4264fde57f6789c23248f32d397498855463fec91adf9a5e7be6c1b5dd5c75002b69db1a6c3ecd1b2432cbf14d7f93c5fcd8ffb34b0fe6b7e78a8a9d7a434eb41667fe35c8f1cdb7f2b83f9bfee9a3f9b1f9e0003fa76435f01667a7c971e39a7f2b83f9bfee9a1f9b5f9dc694d7a4209e20f1b4a57fe031e39afe5307f37fdd367f367f3c02f2fd392d3a7d9b4fd5c31e39afe570777fba68fe6dfe76aaab36beeaac6809166054f8d576c78e7debf94c1fcdff74b7fe56f7e74efff003b11dbaef63ff34e3c72ef5fca60fe6ffba71fcdff00ce8069fe233dbbd977ff00638f1cbbd7f2983f9bfee9c7f37bf3a4123fc4476a77b1efb6df0e3c72ef5fca60fe6ffba7a5685e7efcc1b8fc87f31ebb3eac5fcc367a8450da5f7fa3fc11b4d6ca5761e97d99241f17f3658252e027ab85930631a88c6bd0479ff49fffd1f495e29692de809222045057b8c849bb175551652b10ce0c8aebbd08520f5ef8d32e30396c89862e1049ca3e04d4f124376f6c906a99b2f9cffe726db5c9357f2ec1a54ef6cd1d97a92b24c610e1a40bc49a856e34e54385855b12d2ad3cd7340e9a759aeab7f2285bfbd60b725480578732c0b1a50af2f8572af10f72780043cf1799346d222b692c963bab6a9b79da054293baf1a821be3f517f766a3e1cae52b7374e030cd5e7f52de349c81731aef1aa98d413b9017a6524bbbc093645c94769b25aa093d7b992dfe246511332f2a1dfecab7c43f64e10c640f723da7d2a800d56e29bedea390013d3fbbeb876ef6152ee0e173a57234d52e9411407d47afd344c76ef5a3dc1a171a407a0d52e857abf37e9d97ec571d96a5dc164d75a6ac6648f51ba76dbf74246e448f728176c6c2403dc147f4adb04f86e3500e07c3fbf5a57eec6d3c07fa2b1af6c658fd399af648c9e4ca654209ec68475c16bc27c947fdc3f2feeee78d7f9a3ad29f2c7665ea713a2ef48ae695dbe38fa7fc0e3b23d5e4e53a3d0728ae2bde8f1ff0015c764fabc9eb7e5803fe8577cdde1fa560ffa88b3cb63f4175d97fc6e3fd5fd127fffd2f466af2dc466d9a191a33e97c5c4f5e9b1c9c29b318097c5aa6a714a0199a56462023568c3a124d69b659c21b4c014d74cd56e2ed9d2528014251555aac3f9ab5200ff005b2128d354e003c3bfe720fca7e7cd77ccbe5e6f2ee9d7177629a714ba9a38cc9123992a0353f6f8f4ca8c6cb5aa7947ca9e74d2accc32585f1670399f40460b53af1502bf4e242aef30797fce3711911e897929f1f489cae512e5e1981ccbcbb5cfcb6fcc7b994b47e58d45abe1031ca2503dcee30ea718e72093ff00caa8fccdff00a95b52ff00a476c87872ee723f378bf9d156b7fcb4fcd7b7e5e8796b538f950b52dc9ad3a75070f04bb989d4e13fc51551f97ff9c00a91e5ed5015fb27eadd3f0c7865dc8fcc61fe745c7f2fff00380f5f2eea9d6bfef377fbb1e197727f3187f9d171fcbffce02083e5ed5287a8fab7f663c32ee47e630ff3a3f35ffe04fce4a96ff0fea9c8f53f5615fd587865dcbe3e0fe747e6b3fe55ff00e70529fe1ed5287b7d5bc3e8c7865dcbf98c3fce8a1e6fcaefcd29a432cbe58d4de46fb4c6dc8fd583825dcc86ab10fe28acff009551f99bff0052b6a5ff0048ed83c397727f378bf9d177fcaa8fccdffa95b52ffa476c7c39772fe6f17f3a2eff009551f99bff0052b6a5ff0048ed8f872ee5fcde2fe745eade5ef2479c61ff009c75f33e89368b791eb175a9432db69ed1113488b3dab1654ea405473fec72e113c043afc99e07531958e1e1ff008a7fffd3f43ebe5c7d4ca8afeefb6c7b52872cc6db8baa0604691db90740a3909bd373cba5176f039616d299e8966636b9909902a0f4a30c080452a4807b572b996bc926efe5b554b549edccdca25a10eca69b6d45caf86d84644725a93698d7724325bb2d093cc3c86a5452b4dbb63c29e392bc6da4322cf14533856342beab106bdc038f0af1c93706a01f1f1c5add8abb15762aec55e57f9f1afbf97edb43d5ccd711c16f34fea24129891d9a301164e2ca5b7fb232b9df2082c53cb7f98faeeb567a85dcf6ba85bb5b158e3b32ce3d5ad0f289a40accfddff67871cc6d4e4e0e459709039271e5df307d73cd36b6525cea11c22dee5ae9cc84c7b46482475565a5578fed653a7cb294f889148b04d0e6c77f37ff0035757b5b66f2f797c5ec5768b03dddecd204b828d46448a9d24957e37e5fcd9919b3f4e56e761d15c788f2fe8aff002b5ce9ff009816a16f357bbb1d75178a323cb15bcb41c2312fa6ca52656fef07c3cdb060d4716d2fa93a8d21c7bc7d50657279eafe6d67595b5d57fd03cb72a473db4903f269c1f4b8d5595a48797d8dff00bcf8a4fdde60e5c93133c3d0b38618f08b1bc9e5de7dfccfbbf506a9a56a77b05d59cad1cf61182b6d2867fde109c8b1e3c7ed55397ece63e2c9332e13fe9adcc3a51187117a0e9fe77bd93f22b52f309b81f5986e5504dea4c46f730ad2bfde8d9e9c6bfecf8e66c4cbc03bcaf8bfcefa83872c63c7036e5fef5fffd4f44eb57ab686d59a18e60f1f12b20aedb74a91928ad91c90f0799aec3ac7c218d2845029f80d7bd1b7ff006387858f114d74fd4deea09e499e25404a4407c24803726a7be448485516f712c10346620044a07a91f33ca8286b51b6064dadaded4333c05a8791111eff00ecb0aba3b6d493985960507750b111bfbfc5be2aa863d46bb4d1f5e8633d3fe0b021a11ea55de78c8de9fbb3ff003562977a7a9fa74f5e2f52bd7d334a7cb96142285682bb9ee702bb1579ff00e6ef90ad3ce16da54379215b7b19a49da302a5c940a057a8dab808dd9445f5625a6fe56ea16d2c862d6d60b3524d8acd0c9713c41800472e5c2829c3ec7d8cc5cda4e3377fe6a3242faa71a4f90f5bb0faf6a569ae5bcfa90b7923b22f66d1c713b5472642dfbe5a7c2cad830e9063958611c6015f6de48b2bc97ebfe63fa936a5450f3595bc857e1d9488e6132aedfcadc727934919f37361aa9c3606c2776fe4ad1cdacb1da4cacb24a92bdb3a2db47249190c8d208912493e2a1ddb0c74c06dd189d4caec73633e64f25de6a5a8de933c623966790fee88df9926bf17c7e1f1643269e522cf1ce2073451fcb2d0fea9696f14f0c4a7d56b91e833192496231a1f6e07936f98c7b3a477b0dbf9df90475bfe5a5ec5f95573e4efac5b0bab851fe9811fd2243a37a8cbf6b9d12bfeb6648d311031beae39ce38c4a9ffd5f49df4b2afd511255895a32599c0236036c42544693a7ca0c82391c495259669e86a6a694dbaf862854b7d3adad15cc104957a72e4f2b9dbc3d40698aa6d09262427725454fd18aaec55d8abb15762aec55d8abb1540ea96bf5858e90998a93b07094af7dc1ae36ca35dea306896aca1a58de371f084f539507cc530da93dcb9f46822b69d6d8132c89c0726afd02bd2b8da83ba06d342b9242cf489001c8ad0923c363d7fcac78994aba26d6fa5d8c0071895981a877019aa3a6e4636c2d29934abc9350769212d6e6434354af163527738f133dab9a676da3da5bca64157626a39f13461fb42806f8db0251bdf021fffd6f48df8264b3011643e93d164fb3d17d8e212aa3eac802f2083f940503f5e2873983813cd80f1502bf81c553083fb98ff00d51fab155f8abb15762aec55d8abb15762aec55d8abb15762aec55d8abb15777c55fffd7f50ac05e38995ca1080740762078838aa0affcbb6b7d2ac971239651c4710a36ad7c3df01090515069e6081218e6608838ad552b4fbb0a1148a15154745000fa3156f154291aa5766829f27feb8b3f4f9ba9a9f11bc3cabbecf4a76ef8afa7cd711a8f01430f3efb353f5e2be9f36c8bfa9a3454de9b37d1df147a5a41a850736889ef40d4fd78afa5a61a9edc5a1e9f154375f6df027d3e6b641ab713e9b41cbf67907a77eb4384a8e1f35806b95156b6a77da4feb8374fa3cd1107d7391fac18f8d071f4f956bdeb5c2c4d7456c58bb15762aec55ddf157fffd0f52273e0bc2bc6838f4e9810dfefbdff00e172415dfbef7ff85c3b2bbf7defff000b8ecad7efbdff00e171d97777efbdff00e171d95dfbef7ff85c76577efbdffe171d95dfbef7ff0085c765ddbfdf7bff00c2e3b2eed7efbdff00e171d97777efbdff00e171d95bfdf7bffc2e3b2bbf7defff000b8ecaefdeff0095f471c76577ef3fcaff0085c0aefdf7bffc2e1d91bbbf7defff000b8ecbbad3ead47daaf6e98365ddffd9);





ConsultantDetails Table

-- phpMyAdmin SQL Dump
-- version 2.11.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 21, 2009 at 04:07 PM
-- Server version: 5.0.45
-- PHP Version: 5.1.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `buildingbids`
--

-- --------------------------------------------------------

--
-- Table structure for table `ConsultantDetails`
--

CREATE TABLE `ConsultantDetails` (
  `Consultantid` int(255) unsigned NOT NULL auto_increment,
  `Type_of_Listing` varchar(255) NOT NULL,
  `name` varchar(30) NOT NULL,
  `type` varchar(30) NOT NULL,
  `size` int(255) NOT NULL,
  `content` mediumblob NOT NULL,
  `Consultant_Type` varchar(255) NOT NULL,
  `Username` varchar(255) NOT NULL,
  `Password` varchar(255) NOT NULL,
  `Confirm_Password` varchar(255) NOT NULL,
  `BusinessName` varchar(255) NOT NULL,
  `ContactName` varchar(255) NOT NULL,
  `ContactNo` varchar(255) NOT NULL,
  `BusinessAddress1` varchar(255) NOT NULL,
  `BusinessAddress2` varchar(255) NOT NULL,
  `Town` varchar(255) NOT NULL,
  `County` varchar(255) NOT NULL,
  `Notification_yes` varchar(255) NOT NULL,
  `Notification_no` varchar(255) NOT NULL,
  `Postcode` varchar(255) NOT NULL,
  `Country` varchar(255) NOT NULL,
  `Phone` varchar(255) NOT NULL,
  `Email` varchar(255) NOT NULL,
  `Security_Question` varchar(255) NOT NULL,
  `Security_Answer` varchar(255) NOT NULL,
  `Website` varchar(255) NOT NULL,
  `Copyright` varchar(255) NOT NULL,
  `Privacy` varchar(255) NOT NULL,
  `Terms` varchar(255) NOT NULL,
  PRIMARY KEY  (`Consultantid`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `ConsultantDetails`
--

INSERT INTO `ConsultantDetails` (`Consultantid`, `Type_of_Listing`, `name`, `type`, `size`, `content`, `Consultant_Type`, `Username`, `Password`, `Confirm_Password`, `BusinessName`, `ContactName`, `ContactNo`, `BusinessAddress1`, `BusinessAddress2`, `Town`, `County`, `Notification_yes`, `Notification_no`, `Postcode`, `Country`, `Phone`, `Email`, `Security_Question`, `Security_Answer`, `Website`, `Copyright`, `Privacy`, `Terms`) VALUES
(1, '', '', '', 0, '', '', 'ljhljhgljh', 'ljhgljhgljhg', 'ljhgljhgljhg', ';kj;kjb;.kjb;kjb', 'kjb;/jkb/kj', 'b/kjb/k', 'jhvljhvljhv', 'ljhvljhvljh', 'vljhvljhvljhvlj', '', '', 'Yes', 'hvljhvljhvlj', 'Ireland', ',jhvljhvljhvl', '', 'Mothers Maiden Name', 'ljhgljhgljh', 'hl.jhvljhv', 'Yes', 'Yes', 'Yes'),
(2, 'Silver (¬50 per year, limited to 5 places per category)', '', '', 0, '', 'Interior Designer', 'tashhen', 'kevinmac', 'kevinmac', 'Acornsolutions', 'Natasha McDonald', '086 8486432', '49 Turnberry', 'Baldoyle', 'Dublin', '', 'Yes', '', '13', 'Ireland', '01 8324283', '', 'Mothers Maiden Name', 'Roseingrave', 'www.acornsolutions.ie', 'Yes', 'Yes', 'Yes'),
(3, 'Silver (¬50 per year, limited to 5 places per category)', '', '', 0, '', 'Interior Designer', 'lhyvljh', 'ljhljh', 'ljhljh', 'ljljh', 'ljhggljh', 'ggljhgljh', 'gljhgl', 'jhg', 'ljhg', 'Laois', 'Yes', '', 'ljh', 'Ireland', 'hgljh', 'kjhl', 'Mothers Maiden Name', 'ljhgljhg', 'jhglj', 'Yes', 'Yes', 'Yes'),
(4, 'Gold (¬100 per year, limited to 1 place per category)', '', '', 0, '', 'Interior Designer', 'jeromeanglin', 'anglinarchitecture', 'anglinarchitecture', 'Anglin Architecture', 'Jerome', '0868494657', 'Iveragh', '44 Meath Road', 'Bray', 'Wicklow', 'Yes', '', 'none', 'Ireland', '', 'jeromeanglin@yahoo.com', 'Mothers Maiden Name', 'roseingrave', 'www.anglinarchitecture.ie', 'Yes', 'Yes', 'Yes');
Okay, you've got a lot going on here, but if I've decoded it all correctly, the code below should do what you're looking for.  If not, please post the entire text of each of your two forms that currently work properly.  No need to post the tables again.  Also, if it doesn't work properly, let me know whether either of your tables (ConsultantDetails or upload) show new entries.
In theory it's pretty simple to combine the two forms as you've described, you just had a few little errors compounding one another.
 

<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password 
$db_password = "********"; // provide your database password 
$database = "buildingbids"; // provide your database name 
$db_table = "ConsultantDetails"; // provide your table name
 
$db = mysql_connect($hostname, $db_user, $db_password); 
mysql_select_db($database,$db); 
?> 
<!-- InstanceBegin template="/Templates/buildingbids_Consultant.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Building Bids - Get competitive online building quotes</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
 
.style1 {
	font-family: "BankGothic Lt BT";
	font-size: 90px;
	color: #FFCC66;
}
-->
</style>
<link href="../buildingbids.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.textInput
{
border: 1px solid #ffffff;
background: #666666;
color: #ffffff;
font-size: 1.1em;
}
.textInput1
{
border: 1px solid #ffffff;
background: #999999;
color: #ffffff;
font-size: 1.1em;
}
.style2 {color: #666666}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFFFFF;
}
.style4 {
	font-size: 36px;
	font-family: "BankGothic Lt BT";
	color: #CCCCCC;
}
body {
	background-color: #666666;
}
.style9 {color: #CCCCCC}
.style10 {font-family: "BankGothic Lt BT"}
.style19 {font-size: 12px; color: #333333; }
.style23 {font-size: 40px; color: #FFFFFF; font-family: "BankGothic Lt BT"; }
.style24 {color: #FFFFFF}
.style26 {font-size: 10px; color: #333333; }
a:link {
	color: #333333;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #333333;
}
a:hover {
	text-decoration: none;
	color: #666666;
}
a:active {
	text-decoration: none;
	color: #000000;
}
.main a:link {
	color: #cccccc;
	text-decoration: none;
}
.main a:visited {
	text-decoration: none;
	color: #cccccc;
}
.main a:hover {
	text-decoration: none;
	color: #FFCC66;
}
.main a:active {
	text-decoration: none;
	color: #cccccc;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style27 {font-size: 36px;
	color: #FFCC66;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- InstanceEndEditable -->
</head>
 
<body>
<table width="100%" height="460">
  <tr>
    <td height="88"><span class="style1">Building Bids</span> <span class="style2">K</span><span class="Main style2 style4 style9"><span class="style10 style24">online building quote</span></span> </td>
  </tr>
  <tr>
    <td height="28" bgcolor="#CCCCCC" class="style2 Main"><table width="100%" height="26">
      <tr>
        <td width="11%" height="20"><span class="style19"><a href="../clientproject.html"> START A PROJECT </a> </span></td>
        <td width="11%"><span class="style19"><a href="../all_views/viewallprojects.html">VIEW ALL PROJECT</a> </span></td>
        <td width="12%"><span class="style19">FIND A CONSULTANT </span></td>
        <td width="9%"><span class="style19"><a href="../all_views/Notice_Board.html">NOTICE BOARD</a> </span></td>
        <td width="4%"><span class="style19"><a href="../all_views/FAQ.html">FAQ</a> </span></td>
        <td width="13%"><span class="style19"><a href="../all_views/contact_us.html">CONTACT US</a> </span></td>
        <td width="14%">&nbsp;</td>
        <td width="10%" class="style19"><div align="right"><a href="../all_views/index_draft.php">HOME</a></div></td>
        <td width="5%" class="style19"><div align="right"><a href="../all_views/Registration1.html">LOGIN</a></div></td>
        <td width="7%" class="style19"><div align="right"><a href="../all_views/Registration1.html">REGISTER</a></div></td>
        <td width="4%" class="style19"><div align="right">HELP </div></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="31" align="left" valign="top" bgcolor="#666666"><table width="66%">
      <tr>
        <td width="16%"><span class="main style9">Find a consultant </span></td>
        <td width="2%"><span class="style9">&brvbar;</span></td>
        <td width="23%"><span class="main style9"><a href="ConsultantDetails.html">Register as a Consultant </a></span></td>
        <td width="1%"><span class="style9">&brvbar;</span></td>
        <td width="58%"><span class="main style9"><a href="ConsultantDetails.html">Edit Contact Information </a></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#666666"><table width="100%">
      <tr>
        <td height="253" align="left" valign="top"><table width="100%">
            <tr> </tr>
          </table>
            <!-- InstanceBeginEditable name="EditRegion4" -->
<?php 
if (isset($_REQUEST['Submit']) && $_FILES['userfile']['size'] > 0) {
 
	
	# THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE 
	$sql = "INSERT INTO $db_table (Type_of_Listing,Upload_Logo,Consultant_Type,BusinessName,ContactName,ContactNo,Email,Website,Phone,BusinessAddress1,BusinessAddress2,Town,Postcode,County,Country,Notification_yes,Notification_no,Username,Password,Confirm_Password,Security_Question,Security_Answer,Copyright,Terms,Privacy) values ('".mysql_real_escape_string(stripslashes($_REQUEST['Type_of_Listing']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Upload_Logo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Consultant_Type']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactNo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Email']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Website']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Phone']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress1']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress2']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Town']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Postcode']))."','".mysql_real_escape_string(stripslashes($_REQUEST['County']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Country']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_yes']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_no']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Username']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Confirm_Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Question']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Answer']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Copyright']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Terms']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Privacy']))."')"; 
	
	mysql_query($query) or die('Error:  Registration failed!'); 
	
	# THIS CODE TELL MYSQL TO COPY YOUR UPLOAD FILE INTO INTO YOUR MYSQL TABLE 
 
	$fileName = $_FILES['userfile']['name'];
	$tmpName  = $_FILES['userfile']['tmp_name'];
	$fileSize = $_FILES['userfile']['size'];
	$fileType = $_FILES['userfile']['type'];
 
	$fp      = fopen($tmpName, 'r');
	$content = fread($fp, filesize($tmpName));
	$content = addslashes($content);
	fclose($fp);
 
	if(!get_magic_quotes_gpc())
	{
		$fileName = addslashes($fileName);
	}
 
	include 'library/config.php';
	include 'library/opendb.php';
 
	$query = "INSERT INTO upload (name, size, type, content ) ".
	"VALUES ('$fileName', '$fileSize', '$fileType', '$content')";
 
	mysql_query($query) or die('Error:  File Import failed!'); 
 
	include 'library/closedb.php';		
		
	echo '<h1>Thank you</h1>Your Registration has been successful, and $fileName was uploaded sucessfully!'; 
 
} else { 
?> 
           
			<p class="style27">Registeration Details for Consultants <br />
            </p>
			<form action="ConsultantDetails.php" method="post" enctype="multipart/form-data">
            <table width="84%" border="1" align="center">
              <tr>
                <td height="62" valign="top"><table width="100%">
                    <tr>
                      <td width="14%">Type of Listing </td>
                      <td width="37%"><label>
                        <select name="Type_of_Listing" onchange="">
                          <option>Gold (&euro;100 per year, limited to 1 place per category)</option>
                          <option>Silver (&euro;50 per year, limited to 5 places per category)</option>
                          <option>Standard (free)</option>
                        </select>
                      </label></td>
                      <td width="11%">Upload Logo </td>
                      <td width="38%">
					  <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
					  <input name="userfile" type="file" id="userfile">
					  <!--<input name="upload" type="submit" class="box" id="upload" value=" Upload ">//--> </td>
                    </tr>
                    <tr>
                      <td>Consultant Type</td>
                      <td colspan="2"><label>
                        <select name="Consultant_Type" id="Consultant" onchange="">
                          <option>None</option>
                          <option>Health and Safety Officer</option>
                          <option>Interior Designer</option>
                          <option>Landscape Designer</option>
                          <option>Architectural</option>
                          <option>Architectural Engineer</option>
                          <option>Conservation Architect</option>
                          <option>Planning Consultant</option>
                          <option>Project Manager</option>
                          <option>Structural Engineer</option>
                          <option>Mechanical Engineer</option>
                          <option>Quantity Suveyor</option>
                          <option>Traffic Consultant</option>
                          <option>Ecological Consultant</option>
                          <option>Other</option>
                        </select>
                      </label></td>
                      <td>
		 </td>
                    </tr>
                  </table>
                    <div align="right"></div></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center" bordercolor="#999999">
              <tr>
                <td width="33%" height="226"><table width="99%">
                    <tr>
                      <td width="37%" height="34"><label>Business Name </label></td>
                      <td width="63%"><input name="BusinessName" type="text" id="BusinessName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="37"><label>Contact name</label></td>
                      <td><input name="ContactName" type="text" id="ContactName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="38">Contact Number </td>
                      <td><input name="ContactNo" type="text" id="ContactNo" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="32">Email</td>
                      <td><label>
                      <input name="Email" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="38">Website</td>
                      <td><label>
                        <input name="Website" type="text" id="Website" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>Phone</td>
                      <td><label>
                        <input name="Phone" type="text" size="30" />
                      </label></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="102%" height="216">
                    <tr>
                      <td width="31%" height="34"><label>Business Address1 </label></td>
                      <td width="69%"><input name="BusinessAddress1" type="text" id="BusinessAddress1" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="34"><label>Business Address2</label>
                          <label></label></td>
                      <td><input name="BusinessAddress2" type="text" id="BusinessAddress2" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="30"><label>Town/City</label></td>
                      <td><input name="Town" type="text" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="33">Postcode</td>
                      <td><label>
                        <input name="Postcode" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="30">County</td>
                      <td><select name="County" onchange="">
                          <option>Antrim</option>
                          <option>Armagh</option>
                          <option>carlow</option>
                          <option >Cavan</option>
                          <option >Clare</option>
                          <option >Cork</option>
                          <option >Derry</option>
                          <option >Donegal</option>
                          <option >Down</option>
                          <option >Dublin</option>
                          <option >Fermanagh</option>
                          <option >Galway</option>
                          <option >Kerry</option>
                          <option >Kildare</option>
                          <option >Kilkenny</option>
                          <option >Laois</option>
                          <option >Leitrim</option>
                          <option >Limerick</option>
                          <option >Longford</option>
                          <option >Louth</option>
                          <option >Mayo</option>
                          <option >Meath</option>
                          <option >Monaghan</option>
                          <option >Offaly</option>
                          <option >Roscommon</option>
                          <option >Sligo</option>
                          <option >Tipperary</option>
                          <option >Tyrone</option>
                          <option >Waterford</option>
                          <option >Westmeath</option>
                          <option >Wexford</option>
                          <option >Wicklow</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="39">Country</td>
                      <td><select name="Country" onchange="">
                          <option selected="selected">Ireland</option>
                          <option value="Afganistan">Afghanistan</option>
                          <option value="Albania">Albania</option>
                          <option value="Algeria">Algeria</option>
                          <option value="American Samoa">American Samoa</option>
                          <option value="Andorra">Andorra</option>
                          <option value="Angola">Angola</option>
                          <option value="Anguilla">Anguilla</option>
                          <option value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</option>
                          <option value="Argentina">Argentina</option>
                          <option value="Armenia">Armenia</option>
                          <option value="Aruba">Aruba</option>
                          <option value="Australia">Australia</option>
                          <option value="Austria">Austria</option>
                          <option value="Azerbaijan">Azerbaijan</option>
                          <option value="Bahamas">Bahamas</option>
                          <option value="Bahrain">Bahrain</option>
                          <option value="Bangladesh">Bangladesh</option>
                          <option value="Barbados">Barbados</option>
                          <option value="Belarus">Belarus</option>
                          <option value="Belgium">Belgium</option>
                          <option value="Belize">Belize</option>
                          <option value="Benin">Benin</option>
                          <option value="Bermuda">Bermuda</option>
                          <option value="Bhutan">Bhutan</option>
                          <option value="Bolivia">Bolivia</option>
                          <option value="Bonaire">Bonaire</option>
                          <option value="Bosnia &amp; Herzegovina">Bosnia &amp; Herzegovina</option>
                          <option value="Botswana">Botswana</option>
                          <option value="Brazil">Brazil</option>
                          <option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
                          <option value="Brunei">Brunei</option>
                          <option value="Bulgaria">Bulgaria</option>
                          <option value="Burkina Faso">Burkina Faso</option>
                          <option value="Burundi">Burundi</option>
                          <option value="Cambodia">Cambodia</option>
                          <option value="Cameroon">Cameroon</option>
                          <option value="Canada">Canada</option>
                          <option value="Canary Islands">Canary Islands</option>
                          <option value="Cape Verde">Cape Verde</option>
                          <option value="Cayman Islands">Cayman Islands</option>
                          <option value="Central African Republic">Central African Republic</option>
                          <option value="Chad">Chad</option>
                          <option value="Channel Islands">Channel Islands</option>
                          <option value="Chile">Chile</option>
                          <option value="China">China</option>
                          <option value="Christmas Island">Christmas Island</option>
                          <option value="Cocos Island">Cocos Island</option>
                          <option value="Colombia">Colombia</option>
                          <option value="Comoros">Comoros</option>
                          <option value="Congo">Congo</option>
                          <option value="Cook Islands">Cook Islands</option>
                          <option value="Costa Rica">Costa Rica</option>
                          <option value="Cote DIvoire">Cote D'Ivoire</option>
                          <option value="Croatia">Croatia</option>
                          <option value="Cuba">Cuba</option>
                          <option value="Curaco">Curacao</option>
                          <option value="Cyprus">Cyprus</option>
                          <option value="Czech Republic">Czech Republic</option>
                          <option value="Denmark">Denmark</option>
                          <option value="Djibouti">Djibouti</option>
                          <option value="Dominica">Dominica</option>
                          <option value="Dominican Republic">Dominican Republic</option>
                          <option value="East Timor">East Timor</option>
                          <option value="Ecuador">Ecuador</option>
                          <option value="Egypt">Egypt</option>
                          <option value="El Salvador">El Salvador</option>
                          <option value="Equatorial Guinea">Equatorial Guinea</option>
                          <option value="Eritrea">Eritrea</option>
                          <option value="Estonia">Estonia</option>
                          <option value="Ethiopia">Ethiopia</option>
                          <option value="Falkland Islands">Falkland Islands</option>
                          <option value="Faroe Islands">Faroe Islands</option>
                          <option value="Fiji">Fiji</option>
                          <option value="Finland">Finland</option>
                          <option value="France">France</option>
                          <option value="French Guiana">French Guiana</option>
                          <option value="French Polynesia">French Polynesia</option>
                          <option value="French Southern Ter">French Southern Ter</option>
                          <option value="Gabon">Gabon</option>
                          <option value="Gambia">Gambia</option>
                          <option value="Georgia">Georgia</option>
                          <option value="Germany">Germany</option>
                          <option value="Ghana">Ghana</option>
                          <option value="Gibraltar">Gibraltar</option>
                          <option value="Great Britain">Great Britain</option>
                          <option value="Greece">Greece</option>
                          <option value="Greenland">Greenland</option>
                          <option value="Grenada">Grenada</option>
                          <option value="Guadeloupe">Guadeloupe</option>
                          <option value="Guam">Guam</option>
                          <option value="Guatemala">Guatemala</option>
                          <option value="Guinea">Guinea</option>
                          <option value="Guyana">Guyana</option>
                          <option value="Haiti">Haiti</option>
                          <option value="Hawaii">Hawaii</option>
                          <option value="Honduras">Honduras</option>
                          <option value="Hong Kong">Hong Kong</option>
                          <option value="Hungary">Hungary</option>
                          <option value="Iceland">Iceland</option>
                          <option value="India">India</option>
                          <option value="Indonesia">Indonesia</option>
                          <option value="Iran">Iran</option>
                          <option value="Iraq">Iraq</option>
                          <option value="Ireland">Ireland</option>
                          <option value="Isle of Man">Isle of Man</option>
                          <option value="Israel">Israel</option>
                          <option value="Italy">Italy</option>
                          <option value="Jamaica">Jamaica</option>
                          <option value="Japan">Japan</option>
                          <option value="Jordan">Jordan</option>
                          <option value="Kazakhstan">Kazakhstan</option>
                          <option value="Kenya">Kenya</option>
                          <option value="Kiribati">Kiribati</option>
                          <option value="Korea North">Korea North</option>
                          <option value="Korea Sout">Korea South</option>
                          <option value="Kuwait">Kuwait</option>
                          <option value="Kyrgyzstan">Kyrgyzstan</option>
                          <option value="Laos">Laos</option>
                          <option value="Latvia">Latvia</option>
                          <option value="Lebanon">Lebanon</option>
                          <option value="Lesotho">Lesotho</option>
                          <option value="Liberia">Liberia</option>
                          <option value="Libya">Libya</option>
                          <option value="Liechtenstein">Liechtenstein</option>
                          <option value="Lithuania">Lithuania</option>
                          <option value="Luxembourg">Luxembourg</option>
                          <option value="Macau">Macau</option>
                          <option value="Macedonia">Macedonia</option>
                          <option value="Madagascar">Madagascar</option>
                          <option value="Malaysia">Malaysia</option>
                          <option value="Malawi">Malawi</option>
                          <option value="Maldives">Maldives</option>
                          <option value="Mali">Mali</option>
                          <option value="Malta">Malta</option>
                          <option value="Marshall Islands">Marshall Islands</option>
                          <option value="Martinique">Martinique</option>
                          <option value="Mauritania">Mauritania</option>
                          <option value="Mauritius">Mauritius</option>
                          <option value="Mayotte">Mayotte</option>
                          <option value="Mexico">Mexico</option>
                          <option value="Midway Islands">Midway Islands</option>
                          <option value="Moldova">Moldova</option>
                          <option value="Monaco">Monaco</option>
                          <option value="Mongolia">Mongolia</option>
                          <option value="Montserrat">Montserrat</option>
                          <option value="Morocco">Morocco</option>
                          <option value="Mozambique">Mozambique</option>
                          <option value="Myanmar">Myanmar</option>
                          <option value="Nambia">Nambia</option>
                          <option value="Nauru">Nauru</option>
                          <option value="Nepal">Nepal</option>
                          <option value="Netherland Antilles">Netherland Antilles</option>
                          <option value="Netherlands">Netherlands (Holland, Europe)</option>
                          <option value="Nevis">Nevis</option>
                          <option value="New Caledonia">New Caledonia</option>
                          <option value="New Zealand">New Zealand</option>
                          <option value="Nicaragua">Nicaragua</option>
                          <option value="Niger">Niger</option>
                          <option value="Nigeria">Nigeria</option>
                          <option value="Niue">Niue</option>
                          <option value="Norfolk Island">Norfolk Island</option>
                          <option value="Norway">Norway</option>
                          <option value="Oman">Oman</option>
                          <option value="Pakistan">Pakistan</option>
                          <option value="Palau Island">Palau Island</option>
                          <option value="Palestine">Palestine</option>
                          <option value="Panama">Panama</option>
                          <option value="Papua New Guinea">Papua New Guinea</option>
                          <option value="Paraguay">Paraguay</option>
                          <option value="Peru">Peru</option>
                          <option value="Phillipines">Philippines</option>
                          <option value="Pitcairn Island">Pitcairn Island</option>
                          <option value="Poland">Poland</option>
                          <option value="Portugal">Portugal</option>
                          <option value="Puerto Rico">Puerto Rico</option>
                          <option value="Qatar">Qatar</option>
                          <option value="Republic of Montenegro">Republic of Montenegro</option>
                          <option value="Republic of Serbia">Republic of Serbia</option>
                          <option value="Reunion">Reunion</option>
                          <option value="Romania">Romania</option>
                          <option value="Russia">Russia</option>
                          <option value="Rwanda">Rwanda</option>
                          <option value="St Barthelemy">St Barthelemy</option>
                          <option value="St Eustatius">St Eustatius</option>
                          <option value="St Helena">St Helena</option>
                          <option value="St Kitts-Nevis">St Kitts-Nevis</option>
                          <option value="St Lucia">St Lucia</option>
                          <option value="St Maarten">St Maarten</option>
                          <option value="St Pierre &amp; Miquelon">St Pierre &amp; Miquelon</option>
                          <option value="St Vincent &amp; Grenadines">St Vincent &amp; Grenadines</option>
                          <option value="Saipan">Saipan</option>
                          <option value="Samoa">Samoa</option>
                          <option value="Samoa American">Samoa American</option>
                          <option value="San Marino">San Marino</option>
                          <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>
                          <option value="Saudi Arabia">Saudi Arabia</option>
                          <option value="Senegal">Senegal</option>
                          <option value="Seychelles">Seychelles</option>
                          <option value="Sierra Leone">Sierra Leone</option>
                          <option value="Singapore">Singapore</option>
                          <option value="Slovakia">Slovakia</option>
                          <option value="Slovenia">Slovenia</option>
                          <option value="Solomon Islands">Solomon Islands</option>
                          <option value="Somalia">Somalia</option>
                          <option value="South Africa">South Africa</option>
                          <option value="Spain">Spain</option>
                          <option value="Sri Lanka">Sri Lanka</option>
                          <option value="Sudan">Sudan</option>
                          <option value="Suriname">Suriname</option>
                          <option value="Swaziland">Swaziland</option>
                          <option value="Sweden">Sweden</option>
                          <option value="Switzerland">Switzerland</option>
                          <option value="Syria">Syria</option>
                          <option value="Tahiti">Tahiti</option>
                          <option value="Taiwan">Taiwan</option>
                          <option value="Tajikistan">Tajikistan</option>
                          <option value="Tanzania">Tanzania</option>
                          <option value="Thailand">Thailand</option>
                          <option value="Togo">Togo</option>
                          <option value="Tokelau">Tokelau</option>
                          <option value="Tonga">Tonga</option>
                          <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>
                          <option value="Tunisia">Tunisia</option>
                          <option value="Turkey">Turkey</option>
                          <option value="Turkmenistan">Turkmenistan</option>
                          <option value="Turks &amp; Caicos Is">Turks &amp; Caicos Is</option>
                          <option value="Tuvalu">Tuvalu</option>
                          <option value="Uganda">Uganda</option>
                          <option value="Ukraine">Ukraine</option>
                          <option value="United Arab Erimates">United Arab Emirates</option>
                          <option value="United Kingdom">United Kingdom</option>
                          <option value="United States of America">United States of America</option>
                          <option value="Uraguay">Uruguay</option>
                          <option value="Uzbekistan">Uzbekistan</option>
                          <option value="Vanuatu">Vanuatu</option>
                          <option value="Vatican City State">Vatican City State</option>
                          <option value="Venezuela">Venezuela</option>
                          <option value="Vietnam">Vietnam</option>
                          <option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
                          <option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
                          <option value="Wake Island">Wake Island</option>
                          <option value="Wallis &amp; Futana Is">Wallis &amp; Futana Is</option>
                          <option value="Yemen">Yemen</option>
                          <option value="Zaire">Zaire</option>
                          <option value="Zambia">Zambia</option>
                          <option value="Zimbabwe">Zimbabwe</option>
                      </select></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="98%" height="212">
                    <tr>
                      <td width="50%" height="30">Notification of new Projects </td>
                      <td width="50%"><p>
                          <label>
                          <input type="radio" name="Notification_yes" value="Yes" />
                            Yes</label>
                          <label>
                          <input type="radio" name="Notification_no" value="Yes" />
                            No</label>
                          <br />
                          <label></label>
                      </p></td>
                    </tr>
                    <tr>
                      <td height="36">Username</td>
                      <td><label>
                        <input type="text" name="Username" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="28">Password</td>
                      <td><label>
                        <input type="text" name="Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="33">Confirm Password </td>
                      <td><label>
                        <input type="text" name="Confirm_Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="34">Security Question </td>
                      <td><select name="Security_Question" onchange="">
                          <option>Mothers Maiden Name</option>
                          <option>Favourite Pets Name</option>
                          <option>Primary School</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="31">Security Answer </td>
                      <td><label>
                        <input type="text" name="Security_Answer" />
                      </label></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center">
              <tr>
                <td height="82" valign="top"><table width="108%">
                    <tr>
                      <td width="84%">I have agreed that i have permission of the copyright holder to upload this information </td>
                      <td width="16%"><label>
                        <input type="checkbox" name="Copyright" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I have read the terms and conditions of this website and agree with these terms </td>
                      <td><label>
                        <input type="checkbox" name="Terms" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I agree with the privacy policy </td>
                      <td><label>
                        <input type="checkbox" name="Privacy" value="Yes" />
                      </label></td>
                    </tr>
                  </table>
                    <div align="right">
                      <input type="submit" name="Submit" value="Submit" />
                    </div>
                  <div align="right"></div></td>
              </tr>
            </table>
			</form>
<?php 
} 
?>
            <p>&nbsp;</p>
            <!-- InstanceEndEditable --></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#CCCCCC"><table width="100%">
      <tr>
        <td width="41%"><span class="style26">Privacy Policy &brvbar; Terma &amp; Conditions &brvbar; Advice &brvbar; FAQ &brvbar; Contact Us </span></td>
        <td width="35%"><span class="style26">Copyright 2009 Building Bids </span></td>
        <td width="24%"><span class="style26">Site Developed by Acorn Solutions</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>

Open in new window

Commented:
Hi

Thanks for that.  I have used your corrected code.  I have uploaded it and tested it but the file will not go into the database when i check the details i have just entered in the database through the form i get (Blob-0B) IN THE Upload_Logo field, everything else is there.

Natasha

Commented:
Sorry forgot to say that i see this in the ConsultantDetails table there is no new entry in the upload table at all.

Commented:

I nhave just realised i saved your code as ConsultantDetails1.php so i wouldn't delete the original so i have now changed the name back to ConsultantDetails.php and tried it again and this time i got an error Registration Failed and nothing is entered in the database.

Form Text are as follows

ConsultantDetails  This puts data in but not file
<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password
$db_password = "********"; // provide your database password
$database = "buildingbids"; // provide your database name
$db_table = "ConsultantDetails"; // provide your table name

$db = mysql_connect($hostname, $db_user, $db_password);
mysql_select_db($database,$db);
?>
<!-- InstanceBegin template="/Templates/buildingbids_Consultant.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Building Bids - Get competitive online building quotes</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--

.style1 {
      font-family: "BankGothic Lt BT";
      font-size: 90px;
      color: #FFCC66;
}
-->
</style>
<link href="../buildingbids.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.textInput
{
border: 1px solid #ffffff;
background: #666666;
color: #ffffff;
font-size: 1.1em;
}
.textInput1
{
border: 1px solid #ffffff;
background: #999999;
color: #ffffff;
font-size: 1.1em;
}
.style2 {color: #666666}
body,td,th {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 14px;
      color: #FFFFFF;
}
.style4 {
      font-size: 36px;
      font-family: "BankGothic Lt BT";
      color: #CCCCCC;
}
body {
      background-color: #666666;
}
.style9 {color: #CCCCCC}
.style10 {font-family: "BankGothic Lt BT"}
.style19 {font-size: 12px; color: #333333; }
.style23 {font-size: 40px; color: #FFFFFF; font-family: "BankGothic Lt BT"; }
.style24 {color: #FFFFFF}
.style26 {font-size: 10px; color: #333333; }
a:link {
      color: #333333;
      text-decoration: none;
}
a:visited {
      text-decoration: none;
      color: #333333;
}
a:hover {
      text-decoration: none;
      color: #666666;
}
a:active {
      text-decoration: none;
      color: #000000;
}
.main a:link {
      color: #cccccc;
      text-decoration: none;
}
.main a:visited {
      text-decoration: none;
      color: #cccccc;
}
.main a:hover {
      text-decoration: none;
      color: #FFCC66;
}
.main a:active {
      text-decoration: none;
      color: #cccccc;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style27 {font-size: 36px;
      color: #FFCC66;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- InstanceEndEditable -->
</head>

<body>
<table width="100%" height="460">
  <tr>
    <td height="88"><span class="style1">Building Bids</span> <span class="style2">K</span><span class="Main style2 style4 style9"><span class="style10 style24">online building quote</span></span> </td>
  </tr>
  <tr>
    <td height="28" bgcolor="#CCCCCC" class="style2 Main"><table width="100%" height="26">
      <tr>
        <td width="11%" height="20"><span class="style19"><a href="../clientproject.html"> START A PROJECT </a> </span></td>
        <td width="11%"><span class="style19"><a href="../all_views/viewallprojects.html">VIEW ALL PROJECT</a> </span></td>
        <td width="12%"><span class="style19">FIND A CONSULTANT </span></td>
        <td width="9%"><span class="style19"><a href="../all_views/Notice_Board.html">NOTICE BOARD</a> </span></td>
        <td width="4%"><span class="style19"><a href="../all_views/FAQ.html">FAQ</a> </span></td>
        <td width="13%"><span class="style19"><a href="../all_views/contact_us.html">CONTACT US</a> </span></td>
        <td width="14%">&nbsp;</td>
        <td width="10%" class="style19"><div align="right"><a href="../all_views/index_draft.php">HOME</a></div></td>
        <td width="5%" class="style19"><div align="right"><a href="../all_views/Registration1.html">LOGIN</a></div></td>
        <td width="7%" class="style19"><div align="right"><a href="../all_views/Registration1.html">REGISTER</a></div></td>
        <td width="4%" class="style19"><div align="right">HELP </div></td>
      </tr>
    </table></td>
  </tr>
 
  <tr>
    <td height="31" align="left" valign="top" bgcolor="#666666"><table width="66%">
      <tr>
        <td width="16%"><span class="main style9">Find a consultant </span></td>
        <td width="2%"><span class="style9">&brvbar;</span></td>
        <td width="23%"><span class="main style9"><a href="ConsultantDetails.html">Register as a Consultant </a></span></td>
        <td width="1%"><span class="style9">&brvbar;</span></td>
        <td width="58%"><span class="main style9"><a href="ConsultantDetails.html">Edit Contact Information </a></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#666666"><table width="100%">
      <tr>
        <td height="253" align="left" valign="top"><table width="100%">
            <tr> </tr>
          </table>
            <!-- InstanceBeginEditable name="EditRegion4" -->
<?php
if (isset($_REQUEST['Submit'])) {
# THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE
$sql = "INSERT INTO $db_table(Consultantid,Type_of_Listing,Upload_Logo,Consultant_Type,BusinessName,ContactName,ContactNo,Email,Website,Phone,BusinessAddress1,BusinessAddress2,Town,Postcode,County,Country,Notification_yes,Notification_no,Username,Password,Confirm_Password,Security_Question,Security_Answer,Copyright,Terms,Privacy) values ('".mysql_real_escape_string(stripslashes($_REQUEST['']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Type_of_Listing']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Upload_Logo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Consultant_Type']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactNo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Email']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Website']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Phone']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress1']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress2']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Town']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Postcode']))."','".mysql_real_escape_string(stripslashes($_REQUEST['County']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Country']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_yes']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_no']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Username']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Confirm_Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Question']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Answer']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Copyright']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Terms']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Privacy']))."')";
if($result = mysql_query($sql ,$db)) {
echo '<h1>Thank you</h1>Your Registration has been successfull';
} else {
echo "ERROR: ".mysql_error();
}
} else {
?>
           
                  <p class="style27">Registeration Details for Consultants <br />
            </p>
                  <form action="ConsultantDetails.php" method="post" enctype="multipart/form-data">
            <table width="84%" border="1" align="center">
              <tr>
                <td height="62" valign="top"><table width="100%">
                    <tr>
                      <td width="14%">Type of Listing </td>
                      <td width="37%"><label>
                        <select name="Type_of_Listing" onchange="">
                          <option>Gold (&euro;100 per year, limited to 1 place per category)</option>
                          <option>Silver (&euro;50 per year, limited to 5 places per category)</option>
                          <option>Standard (free)</option>
                        </select>
                      </label></td>
                      <td width="11%">Upload Logo </td>
                      <td width="38%">
                                <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
                                <input name="userfile" type="file" id="userfile">
                                <input name="upload" type="submit" class="box" id="upload" value=" Upload "> </td>
                    </tr>
                    <tr>
                      <td>Consultant Type</td>
                      <td colspan="2"><label>
                        <select name="Consultant_Type" id="Consultant" onchange="">
                          <option>None</option>
                          <option>Health and Safety Officer</option>
                          <option>Interior Designer</option>
                          <option>Landscape Designer</option>
                          <option>Architectural</option>
                          <option>Architectural Engineer</option>
                          <option>Conservation Architect</option>
                          <option>Planning Consultant</option>
                          <option>Project Manager</option>
                          <option>Structural Engineer</option>
                          <option>Mechanical Engineer</option>
                          <option>Quantity Suveyor</option>
                          <option>Traffic Consultant</option>
                          <option>Ecological Consultant</option>
                          <option>Other</option>
                        </select>
                      </label></td>
                      <td>
<?php
if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0)
{
$fileName = $_FILES['userfile']['name'];
$tmpName  = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];

$fp      = fopen($tmpName, 'r');
$content = fread($fp, filesize($tmpName));
$content = addslashes($content);
fclose($fp);

if(!get_magic_quotes_gpc())
{
    $fileName = addslashes($fileName);
}

include 'library/config.php';
include 'library/opendb.php';

$query = "INSERT INTO upload (name, size, type, content ) ".
"VALUES ('$fileName', '$fileSize', '$fileType', '$content')";

mysql_query($query) or die('Error, query failed');
include 'library/closedb.php';

echo "<br>File $fileName uploaded<br>";
}
?> </td>
                    </tr>
                  </table>
                    <div align="right"></div></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center" bordercolor="#999999">
              <tr>
                <td width="33%" height="226"><table width="99%">
                    <tr>
                      <td width="37%" height="34"><label>Business Name </label></td>
                      <td width="63%"><input name="BusinessName" type="text" id="BusinessName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="37"><label>Contact name</label></td>
                      <td><input name="ContactName" type="text" id="ContactName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="38">Contact Number </td>
                      <td><input name="ContactNo" type="text" id="ContactNo" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="32">Email</td>
                      <td><label>
                      <input name="Email" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="38">Website</td>
                      <td><label>
                        <input name="Website" type="text" id="Website" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>Phone</td>
                      <td><label>
                        <input name="Phone" type="text" size="30" />
                      </label></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="102%" height="216">
                    <tr>
                      <td width="31%" height="34"><label>Business Address1 </label></td>
                      <td width="69%"><input name="BusinessAddress1" type="text" id="BusinessAddress1" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="34"><label>Business Address2</label>
                          <label></label></td>
                      <td><input name="BusinessAddress2" type="text" id="BusinessAddress2" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="30"><label>Town/City</label></td>
                      <td><input name="Town" type="text" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="33">Postcode</td>
                      <td><label>
                        <input name="Postcode" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="30">County</td>
                      <td><select name="County" onchange="">
                          <option>Antrim</option>
                          <option>Armagh</option>
                          <option>carlow</option>
                          <option >Cavan</option>
                          <option >Clare</option>
                          <option >Cork</option>
                          <option >Derry</option>
                          <option >Donegal</option>
                          <option >Down</option>
                          <option >Dublin</option>
                          <option >Fermanagh</option>
                          <option >Galway</option>
                          <option >Kerry</option>
                          <option >Kildare</option>
                          <option >Kilkenny</option>
                          <option >Laois</option>
                          <option >Leitrim</option>
                          <option >Limerick</option>
                          <option >Longford</option>
                          <option >Louth</option>
                          <option >Mayo</option>
                          <option >Meath</option>
                          <option >Monaghan</option>
                          <option >Offaly</option>
                          <option >Roscommon</option>
                          <option >Sligo</option>
                          <option >Tipperary</option>
                          <option >Tyrone</option>
                          <option >Waterford</option>
                          <option >Westmeath</option>
                          <option >Wexford</option>
                          <option >Wicklow</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="39">Country</td>
                      <td><select name="Country" onchange="">
                          <option selected="selected">Ireland</option>
                          <option value="Afganistan">Afghanistan</option>
                          <option value="Albania">Albania</option>
                          <option value="Algeria">Algeria</option>
                          <option value="American Samoa">American Samoa</option>
                          <option value="Andorra">Andorra</option>
                          <option value="Angola">Angola</option>
                          <option value="Anguilla">Anguilla</option>
                          <option value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</option>
                          <option value="Argentina">Argentina</option>
                          <option value="Armenia">Armenia</option>
                          <option value="Aruba">Aruba</option>
                          <option value="Australia">Australia</option>
                          <option value="Austria">Austria</option>
                          <option value="Azerbaijan">Azerbaijan</option>
                          <option value="Bahamas">Bahamas</option>
                          <option value="Bahrain">Bahrain</option>
                          <option value="Bangladesh">Bangladesh</option>
                          <option value="Barbados">Barbados</option>
                          <option value="Belarus">Belarus</option>
                          <option value="Belgium">Belgium</option>
                          <option value="Belize">Belize</option>
                          <option value="Benin">Benin</option>
                          <option value="Bermuda">Bermuda</option>
                          <option value="Bhutan">Bhutan</option>
                          <option value="Bolivia">Bolivia</option>
                          <option value="Bonaire">Bonaire</option>
                          <option value="Bosnia &amp; Herzegovina">Bosnia &amp; Herzegovina</option>
                          <option value="Botswana">Botswana</option>
                          <option value="Brazil">Brazil</option>
                          <option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
                          <option value="Brunei">Brunei</option>
                          <option value="Bulgaria">Bulgaria</option>
                          <option value="Burkina Faso">Burkina Faso</option>
                          <option value="Burundi">Burundi</option>
                          <option value="Cambodia">Cambodia</option>
                          <option value="Cameroon">Cameroon</option>
                          <option value="Canada">Canada</option>
                          <option value="Canary Islands">Canary Islands</option>
                          <option value="Cape Verde">Cape Verde</option>
                          <option value="Cayman Islands">Cayman Islands</option>
                          <option value="Central African Republic">Central African Republic</option>
                          <option value="Chad">Chad</option>
                          <option value="Channel Islands">Channel Islands</option>
                          <option value="Chile">Chile</option>
                          <option value="China">China</option>
                          <option value="Christmas Island">Christmas Island</option>
                          <option value="Cocos Island">Cocos Island</option>
                          <option value="Colombia">Colombia</option>
                          <option value="Comoros">Comoros</option>
                          <option value="Congo">Congo</option>
                          <option value="Cook Islands">Cook Islands</option>
                          <option value="Costa Rica">Costa Rica</option>
                          <option value="Cote DIvoire">Cote D'Ivoire</option>
                          <option value="Croatia">Croatia</option>
                          <option value="Cuba">Cuba</option>
                          <option value="Curaco">Curacao</option>
                          <option value="Cyprus">Cyprus</option>
                          <option value="Czech Republic">Czech Republic</option>
                          <option value="Denmark">Denmark</option>
                          <option value="Djibouti">Djibouti</option>
                          <option value="Dominica">Dominica</option>
                          <option value="Dominican Republic">Dominican Republic</option>
                          <option value="East Timor">East Timor</option>
                          <option value="Ecuador">Ecuador</option>
                          <option value="Egypt">Egypt</option>
                          <option value="El Salvador">El Salvador</option>
                          <option value="Equatorial Guinea">Equatorial Guinea</option>
                          <option value="Eritrea">Eritrea</option>
                          <option value="Estonia">Estonia</option>
                          <option value="Ethiopia">Ethiopia</option>
                          <option value="Falkland Islands">Falkland Islands</option>
                          <option value="Faroe Islands">Faroe Islands</option>
                          <option value="Fiji">Fiji</option>
                          <option value="Finland">Finland</option>
                          <option value="France">France</option>
                          <option value="French Guiana">French Guiana</option>
                          <option value="French Polynesia">French Polynesia</option>
                          <option value="French Southern Ter">French Southern Ter</option>
                          <option value="Gabon">Gabon</option>
                          <option value="Gambia">Gambia</option>
                          <option value="Georgia">Georgia</option>
                          <option value="Germany">Germany</option>
                          <option value="Ghana">Ghana</option>
                          <option value="Gibraltar">Gibraltar</option>
                          <option value="Great Britain">Great Britain</option>
                          <option value="Greece">Greece</option>
                          <option value="Greenland">Greenland</option>
                          <option value="Grenada">Grenada</option>
                          <option value="Guadeloupe">Guadeloupe</option>
                          <option value="Guam">Guam</option>
                          <option value="Guatemala">Guatemala</option>
                          <option value="Guinea">Guinea</option>
                          <option value="Guyana">Guyana</option>
                          <option value="Haiti">Haiti</option>
                          <option value="Hawaii">Hawaii</option>
                          <option value="Honduras">Honduras</option>
                          <option value="Hong Kong">Hong Kong</option>
                          <option value="Hungary">Hungary</option>
                          <option value="Iceland">Iceland</option>
                          <option value="India">India</option>
                          <option value="Indonesia">Indonesia</option>
                          <option value="Iran">Iran</option>
                          <option value="Iraq">Iraq</option>
                          <option value="Ireland">Ireland</option>
                          <option value="Isle of Man">Isle of Man</option>
                          <option value="Israel">Israel</option>
                          <option value="Italy">Italy</option>
                          <option value="Jamaica">Jamaica</option>
                          <option value="Japan">Japan</option>
                          <option value="Jordan">Jordan</option>
                          <option value="Kazakhstan">Kazakhstan</option>
                          <option value="Kenya">Kenya</option>
                          <option value="Kiribati">Kiribati</option>
                          <option value="Korea North">Korea North</option>
                          <option value="Korea Sout">Korea South</option>
                          <option value="Kuwait">Kuwait</option>
                          <option value="Kyrgyzstan">Kyrgyzstan</option>
                          <option value="Laos">Laos</option>
                          <option value="Latvia">Latvia</option>
                          <option value="Lebanon">Lebanon</option>
                          <option value="Lesotho">Lesotho</option>
                          <option value="Liberia">Liberia</option>
                          <option value="Libya">Libya</option>
                          <option value="Liechtenstein">Liechtenstein</option>
                          <option value="Lithuania">Lithuania</option>
                          <option value="Luxembourg">Luxembourg</option>
                          <option value="Macau">Macau</option>
                          <option value="Macedonia">Macedonia</option>
                          <option value="Madagascar">Madagascar</option>
                          <option value="Malaysia">Malaysia</option>
                          <option value="Malawi">Malawi</option>
                          <option value="Maldives">Maldives</option>
                          <option value="Mali">Mali</option>
                          <option value="Malta">Malta</option>
                          <option value="Marshall Islands">Marshall Islands</option>
                          <option value="Martinique">Martinique</option>
                          <option value="Mauritania">Mauritania</option>
                          <option value="Mauritius">Mauritius</option>
                          <option value="Mayotte">Mayotte</option>
                          <option value="Mexico">Mexico</option>
                          <option value="Midway Islands">Midway Islands</option>
                          <option value="Moldova">Moldova</option>
                          <option value="Monaco">Monaco</option>
                          <option value="Mongolia">Mongolia</option>
                          <option value="Montserrat">Montserrat</option>
                          <option value="Morocco">Morocco</option>
                          <option value="Mozambique">Mozambique</option>
                          <option value="Myanmar">Myanmar</option>
                          <option value="Nambia">Nambia</option>
                          <option value="Nauru">Nauru</option>
                          <option value="Nepal">Nepal</option>
                          <option value="Netherland Antilles">Netherland Antilles</option>
                          <option value="Netherlands">Netherlands (Holland, Europe)</option>
                          <option value="Nevis">Nevis</option>
                          <option value="New Caledonia">New Caledonia</option>
                          <option value="New Zealand">New Zealand</option>
                          <option value="Nicaragua">Nicaragua</option>
                          <option value="Niger">Niger</option>
                          <option value="Nigeria">Nigeria</option>
                          <option value="Niue">Niue</option>
                          <option value="Norfolk Island">Norfolk Island</option>
                          <option value="Norway">Norway</option>
                          <option value="Oman">Oman</option>
                          <option value="Pakistan">Pakistan</option>
                          <option value="Palau Island">Palau Island</option>
                          <option value="Palestine">Palestine</option>
                          <option value="Panama">Panama</option>
                          <option value="Papua New Guinea">Papua New Guinea</option>
                          <option value="Paraguay">Paraguay</option>
                          <option value="Peru">Peru</option>
                          <option value="Phillipines">Philippines</option>
                          <option value="Pitcairn Island">Pitcairn Island</option>
                          <option value="Poland">Poland</option>
                          <option value="Portugal">Portugal</option>
                          <option value="Puerto Rico">Puerto Rico</option>
                          <option value="Qatar">Qatar</option>
                          <option value="Republic of Montenegro">Republic of Montenegro</option>
                          <option value="Republic of Serbia">Republic of Serbia</option>
                          <option value="Reunion">Reunion</option>
                          <option value="Romania">Romania</option>
                          <option value="Russia">Russia</option>
                          <option value="Rwanda">Rwanda</option>
                          <option value="St Barthelemy">St Barthelemy</option>
                          <option value="St Eustatius">St Eustatius</option>
                          <option value="St Helena">St Helena</option>
                          <option value="St Kitts-Nevis">St Kitts-Nevis</option>
                          <option value="St Lucia">St Lucia</option>
                          <option value="St Maarten">St Maarten</option>
                          <option value="St Pierre &amp; Miquelon">St Pierre &amp; Miquelon</option>
                          <option value="St Vincent &amp; Grenadines">St Vincent &amp; Grenadines</option>
                          <option value="Saipan">Saipan</option>
                          <option value="Samoa">Samoa</option>
                          <option value="Samoa American">Samoa American</option>
                          <option value="San Marino">San Marino</option>
                          <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>
                          <option value="Saudi Arabia">Saudi Arabia</option>
                          <option value="Senegal">Senegal</option>
                          <option value="Seychelles">Seychelles</option>
                          <option value="Sierra Leone">Sierra Leone</option>
                          <option value="Singapore">Singapore</option>
                          <option value="Slovakia">Slovakia</option>
                          <option value="Slovenia">Slovenia</option>
                          <option value="Solomon Islands">Solomon Islands</option>
                          <option value="Somalia">Somalia</option>
                          <option value="South Africa">South Africa</option>
                          <option value="Spain">Spain</option>
                          <option value="Sri Lanka">Sri Lanka</option>
                          <option value="Sudan">Sudan</option>
                          <option value="Suriname">Suriname</option>
                          <option value="Swaziland">Swaziland</option>
                          <option value="Sweden">Sweden</option>
                          <option value="Switzerland">Switzerland</option>
                          <option value="Syria">Syria</option>
                          <option value="Tahiti">Tahiti</option>
                          <option value="Taiwan">Taiwan</option>
                          <option value="Tajikistan">Tajikistan</option>
                          <option value="Tanzania">Tanzania</option>
                          <option value="Thailand">Thailand</option>
                          <option value="Togo">Togo</option>
                          <option value="Tokelau">Tokelau</option>
                          <option value="Tonga">Tonga</option>
                          <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>
                          <option value="Tunisia">Tunisia</option>
                          <option value="Turkey">Turkey</option>
                          <option value="Turkmenistan">Turkmenistan</option>
                          <option value="Turks &amp; Caicos Is">Turks &amp; Caicos Is</option>
                          <option value="Tuvalu">Tuvalu</option>
                          <option value="Uganda">Uganda</option>
                          <option value="Ukraine">Ukraine</option>
                          <option value="United Arab Erimates">United Arab Emirates</option>
                          <option value="United Kingdom">United Kingdom</option>
                          <option value="United States of America">United States of America</option>
                          <option value="Uraguay">Uruguay</option>
                          <option value="Uzbekistan">Uzbekistan</option>
                          <option value="Vanuatu">Vanuatu</option>
                          <option value="Vatican City State">Vatican City State</option>
                          <option value="Venezuela">Venezuela</option>
                          <option value="Vietnam">Vietnam</option>
                          <option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
                          <option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
                          <option value="Wake Island">Wake Island</option>
                          <option value="Wallis &amp; Futana Is">Wallis &amp; Futana Is</option>
                          <option value="Yemen">Yemen</option>
                          <option value="Zaire">Zaire</option>
                          <option value="Zambia">Zambia</option>
                          <option value="Zimbabwe">Zimbabwe</option>
                      </select></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="98%" height="212">
                    <tr>
                      <td width="50%" height="30">Notification of new Projects </td>
                      <td width="50%"><p>
                          <label>
                          <input type="radio" name="Notification_yes" value="Yes" />
                            Yes</label>
                          <label>
                          <input type="radio" name="Notification_no" value="Yes" />
                            No</label>
                          <br />
                          <label></label>
                      </p></td>
                    </tr>
                    <tr>
                      <td height="36">Username</td>
                      <td><label>
                        <input type="text" name="Username" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="28">Password</td>
                      <td><label>
                        <input type="text" name="Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="33">Confirm Password </td>
                      <td><label>
                        <input type="text" name="Confirm_Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="34">Security Question </td>
                      <td><select name="Security_Question" onchange="">
                          <option>Mothers Maiden Name</option>
                          <option>Favourite Pets Name</option>
                          <option>Primary School</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="31">Security Answer </td>
                      <td><label>
                        <input type="text" name="Security_Answer" />
                      </label></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center">
              <tr>
                <td height="82" valign="top"><table width="108%">
                    <tr>
                      <td width="84%">I have agreed that i have permission of the copyright holder to upload this information </td>
                      <td width="16%"><label>
                        <input type="checkbox" name="Copyright" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I have read the terms and conditions of this website and agree with these terms </td>
                      <td><label>
                        <input type="checkbox" name="Terms" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I agree with the privacy policy </td>
                      <td><label>
                        <input type="checkbox" name="Privacy" value="Yes" />
                      </label></td>
                    </tr>
                  </table>
                    <div align="right">
                      <input type="submit" name="Submit" value="Submit" />
                    </div>
                  <div align="right"></div></td>
              </tr>
            </table>
                  </form>
<?php
}
?>
            <p>&nbsp;</p>
            <!-- InstanceEndEditable --></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#CCCCCC"><table width="100%">
      <tr>
        <td width="41%"><span class="style26">Privacy Policy &brvbar; Terma &amp; Conditions &brvbar; Advice &brvbar; FAQ &brvbar; Contact Us </span></td>
        <td width="35%"><span class="style26">Copyright 2009 Building Bids </span></td>
        <td width="24%"><span class="style26">Site Developed by Acorn Solutions</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>


upload  this puts the file in

<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password
$db_password = "******"; // provide your database password
$database = "buildingbids"; // provide your database name
$db_table = "upload"; // provide your table name

$db = mysql_connect($hostname, $db_user, $db_password);
mysql_select_db($database,$db);
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<?php
if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0)
{
$fileName = $_FILES['userfile']['name'];
$tmpName  = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];

$fp      = fopen($tmpName, 'r');
$content = fread($fp, filesize($tmpName));
$content = addslashes($content);
fclose($fp);

if(!get_magic_quotes_gpc())
{
    $fileName = addslashes($fileName);
}

include 'library/config.php';
include 'library/opendb.php';

$query = "INSERT INTO upload (name, size, type, content ) ".
"VALUES ('$fileName', '$fileSize', '$fileType', '$content')";

mysql_query($query) or die('Error, query failed');
include 'library/closedb.php';

echo "<br>File $fileName uploaded<br>";
}
?>


<form method="post" enctype="multipart/form-data">
<table width="350" border="0" cellpadding="1" cellspacing="1" class="box">
<tr>
<td width="246">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
<input name="userfile" type="file" id="userfile">
</td>
<td width="80"><input name="upload" type="submit" class="box" id="upload" value=" Upload "></td>
</tr>
</table>
</form>


</body>
</html>

Hi, Natasha-- I just want to verify... these two files you've just posted, they are the original files that work just fine?  I haven't looked closely at them yet, but I assume each one is a form that submits to itself for processing?  Just wanted to verify before I work on them.  Thanks!

Commented:
Yes these are the original and work fine
Thanks
I combined the files.  But let me ask again-- are you absolutely sure that these two files are exactly as they originally were?  I ask because that ConsultantDetails.php file appears to already have code from the upload.php form embedded in it.  If either of those two files you gave me don't work as is, they probably won't work now.  And there were several things in that file that just don't make any sense.
Okay, that warning aside, let me tell you what I've done.  I started with the ConsultantDetails.php file you gave me and:
  • I removed the Upload button from next to the Upload Icon filename box (in the middle of the form like that, clicking it would have the same result as clicking the Submit button)
  • There was another block of PHP code below that looked like it was copied from the upload.php file... I deleted it.  It was the wrong place for it.
  • From the upload.php file, I copied the code for inserting an uploaded file into the database, then pasted that code right after the regristration details get inserted (line 166).
  • In the upload code, I commented out the three include lines (config.php, opendb.php, and closedb.php).  Whatever may be in those files, it shouldn't be necessary now that we've copied the code into the middle of this other file.  However, if this still doesn't work, you can always try uncommenting them (see lines 186, 187, and 192).
And that should be it... tho again, I have concerns about whether the code you gave me worked to start with.  I noticed, for example, that the other problem we fixed-- the fact that the autonumber Consultantid field is being included in the insert statement-- is once again unresolved in this version of ConsultantDetails.php.  I can't imagine that won't cause a problem, but if you say it won't, go ahead and try it.

<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password 
$db_password = "********"; // provide your database password 
$database = "buildingbids"; // provide your database name 
$db_table = "ConsultantDetails"; // provide your table name
 
$db = mysql_connect($hostname, $db_user, $db_password); 
mysql_select_db($database,$db); 
?> 
<!-- InstanceBegin template="/Templates/buildingbids_Consultant.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Building Bids - Get competitive online building quotes</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
 
.style1 {
      font-family: "BankGothic Lt BT";
      font-size: 90px;
      color: #FFCC66;
}
-->
</style>
<link href="../buildingbids.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.textInput
{
border: 1px solid #ffffff;
background: #666666;
color: #ffffff;
font-size: 1.1em;
}
.textInput1
{
border: 1px solid #ffffff;
background: #999999;
color: #ffffff;
font-size: 1.1em;
}
.style2 {color: #666666}
body,td,th {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 14px;
      color: #FFFFFF;
}
.style4 {
      font-size: 36px;
      font-family: "BankGothic Lt BT";
      color: #CCCCCC;
}
body {
      background-color: #666666;
}
.style9 {color: #CCCCCC}
.style10 {font-family: "BankGothic Lt BT"}
.style19 {font-size: 12px; color: #333333; }
.style23 {font-size: 40px; color: #FFFFFF; font-family: "BankGothic Lt BT"; }
.style24 {color: #FFFFFF}
.style26 {font-size: 10px; color: #333333; }
a:link {
      color: #333333;
      text-decoration: none;
}
a:visited {
      text-decoration: none;
      color: #333333;
}
a:hover {
      text-decoration: none;
      color: #666666;
}
a:active {
      text-decoration: none;
      color: #000000;
}
.main a:link {
      color: #cccccc;
      text-decoration: none;
}
.main a:visited {
      text-decoration: none;
      color: #cccccc;
}
.main a:hover {
      text-decoration: none;
      color: #FFCC66;
}
.main a:active {
      text-decoration: none;
      color: #cccccc;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style27 {font-size: 36px;
      color: #FFCC66;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- InstanceEndEditable -->
</head>
 
<body>
<table width="100%" height="460">
  <tr>
    <td height="88"><span class="style1">Building Bids</span> <span class="style2">K</span><span class="Main style2 style4 style9"><span class="style10 style24">online building quote</span></span> </td>
  </tr>
  <tr>
    <td height="28" bgcolor="#CCCCCC" class="style2 Main"><table width="100%" height="26">
      <tr>
        <td width="11%" height="20"><span class="style19"><a href="../clientproject.html"> START A PROJECT </a> </span></td>
        <td width="11%"><span class="style19"><a href="../all_views/viewallprojects.html">VIEW ALL PROJECT</a> </span></td>
        <td width="12%"><span class="style19">FIND A CONSULTANT </span></td>
        <td width="9%"><span class="style19"><a href="../all_views/Notice_Board.html">NOTICE BOARD</a> </span></td>
        <td width="4%"><span class="style19"><a href="../all_views/FAQ.html">FAQ</a> </span></td>
        <td width="13%"><span class="style19"><a href="../all_views/contact_us.html">CONTACT US</a> </span></td>
        <td width="14%">&nbsp;</td>
        <td width="10%" class="style19"><div align="right"><a href="../all_views/index_draft.php">HOME</a></div></td>
        <td width="5%" class="style19"><div align="right"><a href="../all_views/Registration1.html">LOGIN</a></div></td>
        <td width="7%" class="style19"><div align="right"><a href="../all_views/Registration1.html">REGISTER</a></div></td>
        <td width="4%" class="style19"><div align="right">HELP </div></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="31" align="left" valign="top" bgcolor="#666666"><table width="66%">
      <tr>
        <td width="16%"><span class="main style9">Find a consultant </span></td>
        <td width="2%"><span class="style9">&brvbar;</span></td>
        <td width="23%"><span class="main style9"><a href="ConsultantDetails.html">Register as a Consultant </a></span></td>
        <td width="1%"><span class="style9">&brvbar;</span></td>
        <td width="58%"><span class="main style9"><a href="ConsultantDetails.html">Edit Contact Information </a></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#666666"><table width="100%">
      <tr>
        <td height="253" align="left" valign="top"><table width="100%">
            <tr> </tr>
          </table>
            <!-- InstanceBeginEditable name="EditRegion4" -->
<?php 
if (isset($_REQUEST['Submit'])) { 
 
	# THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE 
	$sql = "INSERT INTO $db_table(Consultantid,Type_of_Listing,Upload_Logo,Consultant_Type,BusinessName,ContactName,ContactNo,Email,Website,Phone,BusinessAddress1,BusinessAddress2,Town,Postcode,County,Country,Notification_yes,Notification_no,Username,Password,Confirm_Password,Security_Question,Security_Answer,Copyright,Terms,Privacy) values ('".mysql_real_escape_string(stripslashes($_REQUEST['']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Type_of_Listing']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Upload_Logo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Consultant_Type']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactNo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Email']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Website']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Phone']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress1']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress2']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Town']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Postcode']))."','".mysql_real_escape_string(stripslashes($_REQUEST['County']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Country']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_yes']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_no']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Username']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Confirm_Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Question']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Answer']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Copyright']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Terms']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Privacy']))."')"; 
 
	if($result = mysql_query($sql ,$db)) { 
 
		echo '<h1>Thank you</h1>Your Registration has been successfull';
 
		if($_FILES['userfile']['size'] > 0) {
			$fileName = $_FILES['userfile']['name'];
			$tmpName  = $_FILES['userfile']['tmp_name'];
			$fileSize = $_FILES['userfile']['size'];
			$fileType = $_FILES['userfile']['type'];
 
			$fp      = fopen($tmpName, 'r');
			$content = fread($fp, filesize($tmpName));
			$content = addslashes($content);
			fclose($fp);
 
			if(!get_magic_quotes_gpc())
			{
				$fileName = addslashes($fileName);
			}
 
			//include 'library/config.php';
			//include 'library/opendb.php';
 
			$query = "INSERT INTO upload (name, size, type, content) VALUES ('$fileName', '$fileSize', '$fileType', '$content')";
 
			mysql_query($query) or die('Error, query failed'); 
			//include 'library/closedb.php';
 
			echo "<br>File $fileName uploaded<br>";
		} 
 
	} else { 
		echo "ERROR: ".mysql_error(); 
	} 
 
} else { 
?> 
           
                  <p class="style27">Registeration Details for Consultants <br />
            </p>
                  <form action="ConsultantDetails.php" method="post" enctype="multipart/form-data">
            <table width="84%" border="1" align="center">
              <tr>
                <td height="62" valign="top"><table width="100%">
                    <tr>
                      <td width="14%">Type of Listing </td>
                      <td width="37%"><label>
                        <select name="Type_of_Listing" onchange="">
                          <option>Gold (&euro;100 per year, limited to 1 place per category)</option>
                          <option>Silver (&euro;50 per year, limited to 5 places per category)</option>
                          <option>Standard (free)</option>
                        </select>
                      </label></td>
                      <td width="11%">Upload Logo </td>
                      <td width="38%">
                                <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
                                <input name="userfile" type="file" id="userfile">
                      </td>
                    </tr>
                    <tr>
                      <td>Consultant Type</td>
                      <td colspan="2"><label>
                        <select name="Consultant_Type" id="Consultant" onchange="">
                          <option>None</option>
                          <option>Health and Safety Officer</option>
                          <option>Interior Designer</option>
                          <option>Landscape Designer</option>
                          <option>Architectural</option>
                          <option>Architectural Engineer</option>
                          <option>Conservation Architect</option>
                          <option>Planning Consultant</option>
                          <option>Project Manager</option>
                          <option>Structural Engineer</option>
                          <option>Mechanical Engineer</option>
                          <option>Quantity Suveyor</option>
                          <option>Traffic Consultant</option>
                          <option>Ecological Consultant</option>
                          <option>Other</option>
                        </select>
                      </label></td>
                      <td></td>
                    </tr>
                  </table>
                    <div align="right"></div></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center" bordercolor="#999999">
              <tr>
                <td width="33%" height="226"><table width="99%">
                    <tr>
                      <td width="37%" height="34"><label>Business Name </label></td>
                      <td width="63%"><input name="BusinessName" type="text" id="BusinessName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="37"><label>Contact name</label></td>
                      <td><input name="ContactName" type="text" id="ContactName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="38">Contact Number </td>
                      <td><input name="ContactNo" type="text" id="ContactNo" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="32">Email</td>
                      <td><label>
                      <input name="Email" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="38">Website</td>
                      <td><label>
                        <input name="Website" type="text" id="Website" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>Phone</td>
                      <td><label>
                        <input name="Phone" type="text" size="30" />
                      </label></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="102%" height="216">
                    <tr>
                      <td width="31%" height="34"><label>Business Address1 </label></td>
                      <td width="69%"><input name="BusinessAddress1" type="text" id="BusinessAddress1" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="34"><label>Business Address2</label>
                          <label></label></td>
                      <td><input name="BusinessAddress2" type="text" id="BusinessAddress2" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="30"><label>Town/City</label></td>
                      <td><input name="Town" type="text" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="33">Postcode</td>
                      <td><label>
                        <input name="Postcode" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="30">County</td>
                      <td><select name="County" onchange="">
                          <option>Antrim</option>
                          <option>Armagh</option>
                          <option>carlow</option>
                          <option >Cavan</option>
                          <option >Clare</option>
                          <option >Cork</option>
                          <option >Derry</option>
                          <option >Donegal</option>
                          <option >Down</option>
                          <option >Dublin</option>
                          <option >Fermanagh</option>
                          <option >Galway</option>
                          <option >Kerry</option>
                          <option >Kildare</option>
                          <option >Kilkenny</option>
                          <option >Laois</option>
                          <option >Leitrim</option>
                          <option >Limerick</option>
                          <option >Longford</option>
                          <option >Louth</option>
                          <option >Mayo</option>
                          <option >Meath</option>
                          <option >Monaghan</option>
                          <option >Offaly</option>
                          <option >Roscommon</option>
                          <option >Sligo</option>
                          <option >Tipperary</option>
                          <option >Tyrone</option>
                          <option >Waterford</option>
                          <option >Westmeath</option>
                          <option >Wexford</option>
                          <option >Wicklow</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="39">Country</td>
                      <td><select name="Country" onchange="">
                          <option selected="selected">Ireland</option>
                          <option value="Afganistan">Afghanistan</option>
                          <option value="Albania">Albania</option>
                          <option value="Algeria">Algeria</option>
                          <option value="American Samoa">American Samoa</option>
                          <option value="Andorra">Andorra</option>
                          <option value="Angola">Angola</option>
                          <option value="Anguilla">Anguilla</option>
                          <option value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</option>
                          <option value="Argentina">Argentina</option>
                          <option value="Armenia">Armenia</option>
                          <option value="Aruba">Aruba</option>
                          <option value="Australia">Australia</option>
                          <option value="Austria">Austria</option>
                          <option value="Azerbaijan">Azerbaijan</option>
                          <option value="Bahamas">Bahamas</option>
                          <option value="Bahrain">Bahrain</option>
                          <option value="Bangladesh">Bangladesh</option>
                          <option value="Barbados">Barbados</option>
                          <option value="Belarus">Belarus</option>
                          <option value="Belgium">Belgium</option>
                          <option value="Belize">Belize</option>
                          <option value="Benin">Benin</option>
                          <option value="Bermuda">Bermuda</option>
                          <option value="Bhutan">Bhutan</option>
                          <option value="Bolivia">Bolivia</option>
                          <option value="Bonaire">Bonaire</option>
                          <option value="Bosnia &amp; Herzegovina">Bosnia &amp; Herzegovina</option>
                          <option value="Botswana">Botswana</option>
                          <option value="Brazil">Brazil</option>
                          <option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
                          <option value="Brunei">Brunei</option>
                          <option value="Bulgaria">Bulgaria</option>
                          <option value="Burkina Faso">Burkina Faso</option>
                          <option value="Burundi">Burundi</option>
                          <option value="Cambodia">Cambodia</option>
                          <option value="Cameroon">Cameroon</option>
                          <option value="Canada">Canada</option>
                          <option value="Canary Islands">Canary Islands</option>
                          <option value="Cape Verde">Cape Verde</option>
                          <option value="Cayman Islands">Cayman Islands</option>
                          <option value="Central African Republic">Central African Republic</option>
                          <option value="Chad">Chad</option>
                          <option value="Channel Islands">Channel Islands</option>
                          <option value="Chile">Chile</option>
                          <option value="China">China</option>
                          <option value="Christmas Island">Christmas Island</option>
                          <option value="Cocos Island">Cocos Island</option>
                          <option value="Colombia">Colombia</option>
                          <option value="Comoros">Comoros</option>
                          <option value="Congo">Congo</option>
                          <option value="Cook Islands">Cook Islands</option>
                          <option value="Costa Rica">Costa Rica</option>
                          <option value="Cote DIvoire">Cote D'Ivoire</option>
                          <option value="Croatia">Croatia</option>
                          <option value="Cuba">Cuba</option>
                          <option value="Curaco">Curacao</option>
                          <option value="Cyprus">Cyprus</option>
                          <option value="Czech Republic">Czech Republic</option>
                          <option value="Denmark">Denmark</option>
                          <option value="Djibouti">Djibouti</option>
                          <option value="Dominica">Dominica</option>
                          <option value="Dominican Republic">Dominican Republic</option>
                          <option value="East Timor">East Timor</option>
                          <option value="Ecuador">Ecuador</option>
                          <option value="Egypt">Egypt</option>
                          <option value="El Salvador">El Salvador</option>
                          <option value="Equatorial Guinea">Equatorial Guinea</option>
                          <option value="Eritrea">Eritrea</option>
                          <option value="Estonia">Estonia</option>
                          <option value="Ethiopia">Ethiopia</option>
                          <option value="Falkland Islands">Falkland Islands</option>
                          <option value="Faroe Islands">Faroe Islands</option>
                          <option value="Fiji">Fiji</option>
                          <option value="Finland">Finland</option>
                          <option value="France">France</option>
                          <option value="French Guiana">French Guiana</option>
                          <option value="French Polynesia">French Polynesia</option>
                          <option value="French Southern Ter">French Southern Ter</option>
                          <option value="Gabon">Gabon</option>
                          <option value="Gambia">Gambia</option>
                          <option value="Georgia">Georgia</option>
                          <option value="Germany">Germany</option>
                          <option value="Ghana">Ghana</option>
                          <option value="Gibraltar">Gibraltar</option>
                          <option value="Great Britain">Great Britain</option>
                          <option value="Greece">Greece</option>
                          <option value="Greenland">Greenland</option>
                          <option value="Grenada">Grenada</option>
                          <option value="Guadeloupe">Guadeloupe</option>
                          <option value="Guam">Guam</option>
                          <option value="Guatemala">Guatemala</option>
                          <option value="Guinea">Guinea</option>
                          <option value="Guyana">Guyana</option>
                          <option value="Haiti">Haiti</option>
                          <option value="Hawaii">Hawaii</option>
                          <option value="Honduras">Honduras</option>
                          <option value="Hong Kong">Hong Kong</option>
                          <option value="Hungary">Hungary</option>
                          <option value="Iceland">Iceland</option>
                          <option value="India">India</option>
                          <option value="Indonesia">Indonesia</option>
                          <option value="Iran">Iran</option>
                          <option value="Iraq">Iraq</option>
                          <option value="Ireland">Ireland</option>
                          <option value="Isle of Man">Isle of Man</option>
                          <option value="Israel">Israel</option>
                          <option value="Italy">Italy</option>
                          <option value="Jamaica">Jamaica</option>
                          <option value="Japan">Japan</option>
                          <option value="Jordan">Jordan</option>
                          <option value="Kazakhstan">Kazakhstan</option>
                          <option value="Kenya">Kenya</option>
                          <option value="Kiribati">Kiribati</option>
                          <option value="Korea North">Korea North</option>
                          <option value="Korea Sout">Korea South</option>
                          <option value="Kuwait">Kuwait</option>
                          <option value="Kyrgyzstan">Kyrgyzstan</option>
                          <option value="Laos">Laos</option>
                          <option value="Latvia">Latvia</option>
                          <option value="Lebanon">Lebanon</option>
                          <option value="Lesotho">Lesotho</option>
                          <option value="Liberia">Liberia</option>
                          <option value="Libya">Libya</option>
                          <option value="Liechtenstein">Liechtenstein</option>
                          <option value="Lithuania">Lithuania</option>
                          <option value="Luxembourg">Luxembourg</option>
                          <option value="Macau">Macau</option>
                          <option value="Macedonia">Macedonia</option>
                          <option value="Madagascar">Madagascar</option>
                          <option value="Malaysia">Malaysia</option>
                          <option value="Malawi">Malawi</option>
                          <option value="Maldives">Maldives</option>
                          <option value="Mali">Mali</option>
                          <option value="Malta">Malta</option>
                          <option value="Marshall Islands">Marshall Islands</option>
                          <option value="Martinique">Martinique</option>
                          <option value="Mauritania">Mauritania</option>
                          <option value="Mauritius">Mauritius</option>
                          <option value="Mayotte">Mayotte</option>
                          <option value="Mexico">Mexico</option>
                          <option value="Midway Islands">Midway Islands</option>
                          <option value="Moldova">Moldova</option>
                          <option value="Monaco">Monaco</option>
                          <option value="Mongolia">Mongolia</option>
                          <option value="Montserrat">Montserrat</option>
                          <option value="Morocco">Morocco</option>
                          <option value="Mozambique">Mozambique</option>
                          <option value="Myanmar">Myanmar</option>
                          <option value="Nambia">Nambia</option>
                          <option value="Nauru">Nauru</option>
                          <option value="Nepal">Nepal</option>
                          <option value="Netherland Antilles">Netherland Antilles</option>
                          <option value="Netherlands">Netherlands (Holland, Europe)</option>
                          <option value="Nevis">Nevis</option>
                          <option value="New Caledonia">New Caledonia</option>
                          <option value="New Zealand">New Zealand</option>
                          <option value="Nicaragua">Nicaragua</option>
                          <option value="Niger">Niger</option>
                          <option value="Nigeria">Nigeria</option>
                          <option value="Niue">Niue</option>
                          <option value="Norfolk Island">Norfolk Island</option>
                          <option value="Norway">Norway</option>
                          <option value="Oman">Oman</option>
                          <option value="Pakistan">Pakistan</option>
                          <option value="Palau Island">Palau Island</option>
                          <option value="Palestine">Palestine</option>
                          <option value="Panama">Panama</option>
                          <option value="Papua New Guinea">Papua New Guinea</option>
                          <option value="Paraguay">Paraguay</option>
                          <option value="Peru">Peru</option>
                          <option value="Phillipines">Philippines</option>
                          <option value="Pitcairn Island">Pitcairn Island</option>
                          <option value="Poland">Poland</option>
                          <option value="Portugal">Portugal</option>
                          <option value="Puerto Rico">Puerto Rico</option>
                          <option value="Qatar">Qatar</option>
                          <option value="Republic of Montenegro">Republic of Montenegro</option>
                          <option value="Republic of Serbia">Republic of Serbia</option>
                          <option value="Reunion">Reunion</option>
                          <option value="Romania">Romania</option>
                          <option value="Russia">Russia</option>
                          <option value="Rwanda">Rwanda</option>
                          <option value="St Barthelemy">St Barthelemy</option>
                          <option value="St Eustatius">St Eustatius</option>
                          <option value="St Helena">St Helena</option>
                          <option value="St Kitts-Nevis">St Kitts-Nevis</option>
                          <option value="St Lucia">St Lucia</option>
                          <option value="St Maarten">St Maarten</option>
                          <option value="St Pierre &amp; Miquelon">St Pierre &amp; Miquelon</option>
                          <option value="St Vincent &amp; Grenadines">St Vincent &amp; Grenadines</option>
                          <option value="Saipan">Saipan</option>
                          <option value="Samoa">Samoa</option>
                          <option value="Samoa American">Samoa American</option>
                          <option value="San Marino">San Marino</option>
                          <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>
                          <option value="Saudi Arabia">Saudi Arabia</option>
                          <option value="Senegal">Senegal</option>
                          <option value="Seychelles">Seychelles</option>
                          <option value="Sierra Leone">Sierra Leone</option>
                          <option value="Singapore">Singapore</option>
                          <option value="Slovakia">Slovakia</option>
                          <option value="Slovenia">Slovenia</option>
                          <option value="Solomon Islands">Solomon Islands</option>
                          <option value="Somalia">Somalia</option>
                          <option value="South Africa">South Africa</option>
                          <option value="Spain">Spain</option>
                          <option value="Sri Lanka">Sri Lanka</option>
                          <option value="Sudan">Sudan</option>
                          <option value="Suriname">Suriname</option>
                          <option value="Swaziland">Swaziland</option>
                          <option value="Sweden">Sweden</option>
                          <option value="Switzerland">Switzerland</option>
                          <option value="Syria">Syria</option>
                          <option value="Tahiti">Tahiti</option>
                          <option value="Taiwan">Taiwan</option>
                          <option value="Tajikistan">Tajikistan</option>
                          <option value="Tanzania">Tanzania</option>
                          <option value="Thailand">Thailand</option>
                          <option value="Togo">Togo</option>
                          <option value="Tokelau">Tokelau</option>
                          <option value="Tonga">Tonga</option>
                          <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>
                          <option value="Tunisia">Tunisia</option>
                          <option value="Turkey">Turkey</option>
                          <option value="Turkmenistan">Turkmenistan</option>
                          <option value="Turks &amp; Caicos Is">Turks &amp; Caicos Is</option>
                          <option value="Tuvalu">Tuvalu</option>
                          <option value="Uganda">Uganda</option>
                          <option value="Ukraine">Ukraine</option>
                          <option value="United Arab Erimates">United Arab Emirates</option>
                          <option value="United Kingdom">United Kingdom</option>
                          <option value="United States of America">United States of America</option>
                          <option value="Uraguay">Uruguay</option>
                          <option value="Uzbekistan">Uzbekistan</option>
                          <option value="Vanuatu">Vanuatu</option>
                          <option value="Vatican City State">Vatican City State</option>
                          <option value="Venezuela">Venezuela</option>
                          <option value="Vietnam">Vietnam</option>
                          <option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
                          <option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
                          <option value="Wake Island">Wake Island</option>
                          <option value="Wallis &amp; Futana Is">Wallis &amp; Futana Is</option>
                          <option value="Yemen">Yemen</option>
                          <option value="Zaire">Zaire</option>
                          <option value="Zambia">Zambia</option>
                          <option value="Zimbabwe">Zimbabwe</option>
                      </select></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="98%" height="212">
                    <tr>
                      <td width="50%" height="30">Notification of new Projects </td>
                      <td width="50%"><p>
                          <label>
                          <input type="radio" name="Notification_yes" value="Yes" />
                            Yes</label>
                          <label>
                          <input type="radio" name="Notification_no" value="Yes" />
                            No</label>
                          <br />
                          <label></label>
                      </p></td>
                    </tr>
                    <tr>
                      <td height="36">Username</td>
                      <td><label>
                        <input type="text" name="Username" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="28">Password</td>
                      <td><label>
                        <input type="text" name="Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="33">Confirm Password </td>
                      <td><label>
                        <input type="text" name="Confirm_Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="34">Security Question </td>
                      <td><select name="Security_Question" onchange="">
                          <option>Mothers Maiden Name</option>
                          <option>Favourite Pets Name</option>
                          <option>Primary School</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="31">Security Answer </td>
                      <td><label>
                        <input type="text" name="Security_Answer" />
                      </label></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center">
              <tr>
                <td height="82" valign="top"><table width="108%">
                    <tr>
                      <td width="84%">I have agreed that i have permission of the copyright holder to upload this information </td>
                      <td width="16%"><label>
                        <input type="checkbox" name="Copyright" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I have read the terms and conditions of this website and agree with these terms </td>
                      <td><label>
                        <input type="checkbox" name="Terms" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I agree with the privacy policy </td>
                      <td><label>
                        <input type="checkbox" name="Privacy" value="Yes" />
                      </label></td>
                    </tr>
                  </table>
                    <div align="right">
                      <input type="submit" name="Submit" value="Submit" />
                    </div>
                  <div align="right"></div></td>
              </tr>
            </table>
                  </form>
<?php 
} 
?>
            <p>&nbsp;</p>
            <!-- InstanceEndEditable --></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#CCCCCC"><table width="100%">
      <tr>
        <td width="41%"><span class="style26">Privacy Policy &brvbar; Terma &amp; Conditions &brvbar; Advice &brvbar; FAQ &brvbar; Contact Us </span></td>
        <td width="35%"><span class="style26">Copyright 2009 Building Bids </span></td>
        <td width="24%"><span class="style26">Site Developed by Acorn Solutions</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>

Open in new window

I'm going ahead and including one more version of the combined file-- for this one, I've once again corrected what I see to be an issue with your insert statement (the inclusion of that Consultant id field).  So, if the last post doesn't work, try this one!).
By the way, what's with the two different usernames?

<!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">
<?php  
$hostname = "localhost"; // usually is localhost
$db_user = "buildingbids"; // provide your database password 
$db_password = "********"; // provide your database password 
$database = "buildingbids"; // provide your database name 
$db_table = "ConsultantDetails"; // provide your table name
 
$db = mysql_connect($hostname, $db_user, $db_password); 
mysql_select_db($database,$db); 
?> 
<!-- InstanceBegin template="/Templates/buildingbids_Consultant.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Building Bids - Get competitive online building quotes</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
 
.style1 {
      font-family: "BankGothic Lt BT";
      font-size: 90px;
      color: #FFCC66;
}
-->
</style>
<link href="../buildingbids.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.textInput
{
border: 1px solid #ffffff;
background: #666666;
color: #ffffff;
font-size: 1.1em;
}
.textInput1
{
border: 1px solid #ffffff;
background: #999999;
color: #ffffff;
font-size: 1.1em;
}
.style2 {color: #666666}
body,td,th {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 14px;
      color: #FFFFFF;
}
.style4 {
      font-size: 36px;
      font-family: "BankGothic Lt BT";
      color: #CCCCCC;
}
body {
      background-color: #666666;
}
.style9 {color: #CCCCCC}
.style10 {font-family: "BankGothic Lt BT"}
.style19 {font-size: 12px; color: #333333; }
.style23 {font-size: 40px; color: #FFFFFF; font-family: "BankGothic Lt BT"; }
.style24 {color: #FFFFFF}
.style26 {font-size: 10px; color: #333333; }
a:link {
      color: #333333;
      text-decoration: none;
}
a:visited {
      text-decoration: none;
      color: #333333;
}
a:hover {
      text-decoration: none;
      color: #666666;
}
a:active {
      text-decoration: none;
      color: #000000;
}
.main a:link {
      color: #cccccc;
      text-decoration: none;
}
.main a:visited {
      text-decoration: none;
      color: #cccccc;
}
.main a:hover {
      text-decoration: none;
      color: #FFCC66;
}
.main a:active {
      text-decoration: none;
      color: #cccccc;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style27 {font-size: 36px;
      color: #FFCC66;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- InstanceEndEditable -->
</head>
 
<body>
<table width="100%" height="460">
  <tr>
    <td height="88"><span class="style1">Building Bids</span> <span class="style2">K</span><span class="Main style2 style4 style9"><span class="style10 style24">online building quote</span></span> </td>
  </tr>
  <tr>
    <td height="28" bgcolor="#CCCCCC" class="style2 Main"><table width="100%" height="26">
      <tr>
        <td width="11%" height="20"><span class="style19"><a href="../clientproject.html"> START A PROJECT </a> </span></td>
        <td width="11%"><span class="style19"><a href="../all_views/viewallprojects.html">VIEW ALL PROJECT</a> </span></td>
        <td width="12%"><span class="style19">FIND A CONSULTANT </span></td>
        <td width="9%"><span class="style19"><a href="../all_views/Notice_Board.html">NOTICE BOARD</a> </span></td>
        <td width="4%"><span class="style19"><a href="../all_views/FAQ.html">FAQ</a> </span></td>
        <td width="13%"><span class="style19"><a href="../all_views/contact_us.html">CONTACT US</a> </span></td>
        <td width="14%">&nbsp;</td>
        <td width="10%" class="style19"><div align="right"><a href="../all_views/index_draft.php">HOME</a></div></td>
        <td width="5%" class="style19"><div align="right"><a href="../all_views/Registration1.html">LOGIN</a></div></td>
        <td width="7%" class="style19"><div align="right"><a href="../all_views/Registration1.html">REGISTER</a></div></td>
        <td width="4%" class="style19"><div align="right">HELP </div></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="31" align="left" valign="top" bgcolor="#666666"><table width="66%">
      <tr>
        <td width="16%"><span class="main style9">Find a consultant </span></td>
        <td width="2%"><span class="style9">&brvbar;</span></td>
        <td width="23%"><span class="main style9"><a href="ConsultantDetails.html">Register as a Consultant </a></span></td>
        <td width="1%"><span class="style9">&brvbar;</span></td>
        <td width="58%"><span class="main style9"><a href="ConsultantDetails.html">Edit Contact Information </a></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#666666"><table width="100%">
      <tr>
        <td height="253" align="left" valign="top"><table width="100%">
            <tr> </tr>
          </table>
            <!-- InstanceBeginEditable name="EditRegion4" -->
<?php 
if (isset($_REQUEST['Submit'])) { 
 
	# THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE 
	$sql = "INSERT INTO $db_table(Type_of_Listing,Upload_Logo,Consultant_Type,BusinessName,ContactName,ContactNo,Email,Website,Phone,BusinessAddress1,BusinessAddress2,Town,Postcode,County,Country,Notification_yes,Notification_no,Username,Password,Confirm_Password,Security_Question,Security_Answer,Copyright,Terms,Privacy) values ('".mysql_real_escape_string(stripslashes($_REQUEST['Type_of_Listing']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Upload_Logo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Consultant_Type']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactName']))."','".mysql_real_escape_string(stripslashes($_REQUEST['ContactNo']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Email']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Website']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Phone']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress1']))."','".mysql_real_escape_string(stripslashes($_REQUEST['BusinessAddress2']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Town']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Postcode']))."','".mysql_real_escape_string(stripslashes($_REQUEST['County']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Country']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_yes']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Notification_no']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Username']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Confirm_Password']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Question']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Security_Answer']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Copyright']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Terms']))."','".mysql_real_escape_string(stripslashes($_REQUEST['Privacy']))."')"; 
 
	if($result = mysql_query($sql ,$db)) { 
 
		echo '<h1>Thank you</h1>Your Registration has been successfull';
 
		if($_FILES['userfile']['size'] > 0) {
			$fileName = $_FILES['userfile']['name'];
			$tmpName  = $_FILES['userfile']['tmp_name'];
			$fileSize = $_FILES['userfile']['size'];
			$fileType = $_FILES['userfile']['type'];
 
			$fp      = fopen($tmpName, 'r');
			$content = fread($fp, filesize($tmpName));
			$content = addslashes($content);
			fclose($fp);
 
			if(!get_magic_quotes_gpc())
			{
				$fileName = addslashes($fileName);
			}
 
			//include 'library/config.php';
			//include 'library/opendb.php';
 
			$query = "INSERT INTO upload (name, size, type, content) VALUES ('$fileName', '$fileSize', '$fileType', '$content')";
 
			mysql_query($query) or die('Error, query failed'); 
			//include 'library/closedb.php';
 
			echo "<br>File $fileName uploaded<br>";
		} 
 
	} else { 
		echo "ERROR: ".mysql_error(); 
	} 
 
} else { 
?> 
           
                  <p class="style27">Registeration Details for Consultants <br />
            </p>
                  <form action="ConsultantDetails.php" method="post" enctype="multipart/form-data">
            <table width="84%" border="1" align="center">
              <tr>
                <td height="62" valign="top"><table width="100%">
                    <tr>
                      <td width="14%">Type of Listing </td>
                      <td width="37%"><label>
                        <select name="Type_of_Listing" onchange="">
                          <option>Gold (&euro;100 per year, limited to 1 place per category)</option>
                          <option>Silver (&euro;50 per year, limited to 5 places per category)</option>
                          <option>Standard (free)</option>
                        </select>
                      </label></td>
                      <td width="11%">Upload Logo </td>
                      <td width="38%">
                                <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
                                <input name="userfile" type="file" id="userfile">
                      </td>
                    </tr>
                    <tr>
                      <td>Consultant Type</td>
                      <td colspan="2"><label>
                        <select name="Consultant_Type" id="Consultant" onchange="">
                          <option>None</option>
                          <option>Health and Safety Officer</option>
                          <option>Interior Designer</option>
                          <option>Landscape Designer</option>
                          <option>Architectural</option>
                          <option>Architectural Engineer</option>
                          <option>Conservation Architect</option>
                          <option>Planning Consultant</option>
                          <option>Project Manager</option>
                          <option>Structural Engineer</option>
                          <option>Mechanical Engineer</option>
                          <option>Quantity Suveyor</option>
                          <option>Traffic Consultant</option>
                          <option>Ecological Consultant</option>
                          <option>Other</option>
                        </select>
                      </label></td>
                      <td></td>
                    </tr>
                  </table>
                    <div align="right"></div></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center" bordercolor="#999999">
              <tr>
                <td width="33%" height="226"><table width="99%">
                    <tr>
                      <td width="37%" height="34"><label>Business Name </label></td>
                      <td width="63%"><input name="BusinessName" type="text" id="BusinessName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="37"><label>Contact name</label></td>
                      <td><input name="ContactName" type="text" id="ContactName" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="38">Contact Number </td>
                      <td><input name="ContactNo" type="text" id="ContactNo" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="32">Email</td>
                      <td><label>
                      <input name="Email" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="38">Website</td>
                      <td><label>
                        <input name="Website" type="text" id="Website" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>Phone</td>
                      <td><label>
                        <input name="Phone" type="text" size="30" />
                      </label></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="102%" height="216">
                    <tr>
                      <td width="31%" height="34"><label>Business Address1 </label></td>
                      <td width="69%"><input name="BusinessAddress1" type="text" id="BusinessAddress1" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="34"><label>Business Address2</label>
                          <label></label></td>
                      <td><input name="BusinessAddress2" type="text" id="BusinessAddress2" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="30"><label>Town/City</label></td>
                      <td><input name="Town" type="text" size="30" /></td>
                    </tr>
                    <tr>
                      <td height="33">Postcode</td>
                      <td><label>
                        <input name="Postcode" type="text" size="30" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="30">County</td>
                      <td><select name="County" onchange="">
                          <option>Antrim</option>
                          <option>Armagh</option>
                          <option>carlow</option>
                          <option >Cavan</option>
                          <option >Clare</option>
                          <option >Cork</option>
                          <option >Derry</option>
                          <option >Donegal</option>
                          <option >Down</option>
                          <option >Dublin</option>
                          <option >Fermanagh</option>
                          <option >Galway</option>
                          <option >Kerry</option>
                          <option >Kildare</option>
                          <option >Kilkenny</option>
                          <option >Laois</option>
                          <option >Leitrim</option>
                          <option >Limerick</option>
                          <option >Longford</option>
                          <option >Louth</option>
                          <option >Mayo</option>
                          <option >Meath</option>
                          <option >Monaghan</option>
                          <option >Offaly</option>
                          <option >Roscommon</option>
                          <option >Sligo</option>
                          <option >Tipperary</option>
                          <option >Tyrone</option>
                          <option >Waterford</option>
                          <option >Westmeath</option>
                          <option >Wexford</option>
                          <option >Wicklow</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="39">Country</td>
                      <td><select name="Country" onchange="">
                          <option selected="selected">Ireland</option>
                          <option value="Afganistan">Afghanistan</option>
                          <option value="Albania">Albania</option>
                          <option value="Algeria">Algeria</option>
                          <option value="American Samoa">American Samoa</option>
                          <option value="Andorra">Andorra</option>
                          <option value="Angola">Angola</option>
                          <option value="Anguilla">Anguilla</option>
                          <option value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</option>
                          <option value="Argentina">Argentina</option>
                          <option value="Armenia">Armenia</option>
                          <option value="Aruba">Aruba</option>
                          <option value="Australia">Australia</option>
                          <option value="Austria">Austria</option>
                          <option value="Azerbaijan">Azerbaijan</option>
                          <option value="Bahamas">Bahamas</option>
                          <option value="Bahrain">Bahrain</option>
                          <option value="Bangladesh">Bangladesh</option>
                          <option value="Barbados">Barbados</option>
                          <option value="Belarus">Belarus</option>
                          <option value="Belgium">Belgium</option>
                          <option value="Belize">Belize</option>
                          <option value="Benin">Benin</option>
                          <option value="Bermuda">Bermuda</option>
                          <option value="Bhutan">Bhutan</option>
                          <option value="Bolivia">Bolivia</option>
                          <option value="Bonaire">Bonaire</option>
                          <option value="Bosnia &amp; Herzegovina">Bosnia &amp; Herzegovina</option>
                          <option value="Botswana">Botswana</option>
                          <option value="Brazil">Brazil</option>
                          <option value="British Indian Ocean Ter">British Indian Ocean Ter</option>
                          <option value="Brunei">Brunei</option>
                          <option value="Bulgaria">Bulgaria</option>
                          <option value="Burkina Faso">Burkina Faso</option>
                          <option value="Burundi">Burundi</option>
                          <option value="Cambodia">Cambodia</option>
                          <option value="Cameroon">Cameroon</option>
                          <option value="Canada">Canada</option>
                          <option value="Canary Islands">Canary Islands</option>
                          <option value="Cape Verde">Cape Verde</option>
                          <option value="Cayman Islands">Cayman Islands</option>
                          <option value="Central African Republic">Central African Republic</option>
                          <option value="Chad">Chad</option>
                          <option value="Channel Islands">Channel Islands</option>
                          <option value="Chile">Chile</option>
                          <option value="China">China</option>
                          <option value="Christmas Island">Christmas Island</option>
                          <option value="Cocos Island">Cocos Island</option>
                          <option value="Colombia">Colombia</option>
                          <option value="Comoros">Comoros</option>
                          <option value="Congo">Congo</option>
                          <option value="Cook Islands">Cook Islands</option>
                          <option value="Costa Rica">Costa Rica</option>
                          <option value="Cote DIvoire">Cote D'Ivoire</option>
                          <option value="Croatia">Croatia</option>
                          <option value="Cuba">Cuba</option>
                          <option value="Curaco">Curacao</option>
                          <option value="Cyprus">Cyprus</option>
                          <option value="Czech Republic">Czech Republic</option>
                          <option value="Denmark">Denmark</option>
                          <option value="Djibouti">Djibouti</option>
                          <option value="Dominica">Dominica</option>
                          <option value="Dominican Republic">Dominican Republic</option>
                          <option value="East Timor">East Timor</option>
                          <option value="Ecuador">Ecuador</option>
                          <option value="Egypt">Egypt</option>
                          <option value="El Salvador">El Salvador</option>
                          <option value="Equatorial Guinea">Equatorial Guinea</option>
                          <option value="Eritrea">Eritrea</option>
                          <option value="Estonia">Estonia</option>
                          <option value="Ethiopia">Ethiopia</option>
                          <option value="Falkland Islands">Falkland Islands</option>
                          <option value="Faroe Islands">Faroe Islands</option>
                          <option value="Fiji">Fiji</option>
                          <option value="Finland">Finland</option>
                          <option value="France">France</option>
                          <option value="French Guiana">French Guiana</option>
                          <option value="French Polynesia">French Polynesia</option>
                          <option value="French Southern Ter">French Southern Ter</option>
                          <option value="Gabon">Gabon</option>
                          <option value="Gambia">Gambia</option>
                          <option value="Georgia">Georgia</option>
                          <option value="Germany">Germany</option>
                          <option value="Ghana">Ghana</option>
                          <option value="Gibraltar">Gibraltar</option>
                          <option value="Great Britain">Great Britain</option>
                          <option value="Greece">Greece</option>
                          <option value="Greenland">Greenland</option>
                          <option value="Grenada">Grenada</option>
                          <option value="Guadeloupe">Guadeloupe</option>
                          <option value="Guam">Guam</option>
                          <option value="Guatemala">Guatemala</option>
                          <option value="Guinea">Guinea</option>
                          <option value="Guyana">Guyana</option>
                          <option value="Haiti">Haiti</option>
                          <option value="Hawaii">Hawaii</option>
                          <option value="Honduras">Honduras</option>
                          <option value="Hong Kong">Hong Kong</option>
                          <option value="Hungary">Hungary</option>
                          <option value="Iceland">Iceland</option>
                          <option value="India">India</option>
                          <option value="Indonesia">Indonesia</option>
                          <option value="Iran">Iran</option>
                          <option value="Iraq">Iraq</option>
                          <option value="Ireland">Ireland</option>
                          <option value="Isle of Man">Isle of Man</option>
                          <option value="Israel">Israel</option>
                          <option value="Italy">Italy</option>
                          <option value="Jamaica">Jamaica</option>
                          <option value="Japan">Japan</option>
                          <option value="Jordan">Jordan</option>
                          <option value="Kazakhstan">Kazakhstan</option>
                          <option value="Kenya">Kenya</option>
                          <option value="Kiribati">Kiribati</option>
                          <option value="Korea North">Korea North</option>
                          <option value="Korea Sout">Korea South</option>
                          <option value="Kuwait">Kuwait</option>
                          <option value="Kyrgyzstan">Kyrgyzstan</option>
                          <option value="Laos">Laos</option>
                          <option value="Latvia">Latvia</option>
                          <option value="Lebanon">Lebanon</option>
                          <option value="Lesotho">Lesotho</option>
                          <option value="Liberia">Liberia</option>
                          <option value="Libya">Libya</option>
                          <option value="Liechtenstein">Liechtenstein</option>
                          <option value="Lithuania">Lithuania</option>
                          <option value="Luxembourg">Luxembourg</option>
                          <option value="Macau">Macau</option>
                          <option value="Macedonia">Macedonia</option>
                          <option value="Madagascar">Madagascar</option>
                          <option value="Malaysia">Malaysia</option>
                          <option value="Malawi">Malawi</option>
                          <option value="Maldives">Maldives</option>
                          <option value="Mali">Mali</option>
                          <option value="Malta">Malta</option>
                          <option value="Marshall Islands">Marshall Islands</option>
                          <option value="Martinique">Martinique</option>
                          <option value="Mauritania">Mauritania</option>
                          <option value="Mauritius">Mauritius</option>
                          <option value="Mayotte">Mayotte</option>
                          <option value="Mexico">Mexico</option>
                          <option value="Midway Islands">Midway Islands</option>
                          <option value="Moldova">Moldova</option>
                          <option value="Monaco">Monaco</option>
                          <option value="Mongolia">Mongolia</option>
                          <option value="Montserrat">Montserrat</option>
                          <option value="Morocco">Morocco</option>
                          <option value="Mozambique">Mozambique</option>
                          <option value="Myanmar">Myanmar</option>
                          <option value="Nambia">Nambia</option>
                          <option value="Nauru">Nauru</option>
                          <option value="Nepal">Nepal</option>
                          <option value="Netherland Antilles">Netherland Antilles</option>
                          <option value="Netherlands">Netherlands (Holland, Europe)</option>
                          <option value="Nevis">Nevis</option>
                          <option value="New Caledonia">New Caledonia</option>
                          <option value="New Zealand">New Zealand</option>
                          <option value="Nicaragua">Nicaragua</option>
                          <option value="Niger">Niger</option>
                          <option value="Nigeria">Nigeria</option>
                          <option value="Niue">Niue</option>
                          <option value="Norfolk Island">Norfolk Island</option>
                          <option value="Norway">Norway</option>
                          <option value="Oman">Oman</option>
                          <option value="Pakistan">Pakistan</option>
                          <option value="Palau Island">Palau Island</option>
                          <option value="Palestine">Palestine</option>
                          <option value="Panama">Panama</option>
                          <option value="Papua New Guinea">Papua New Guinea</option>
                          <option value="Paraguay">Paraguay</option>
                          <option value="Peru">Peru</option>
                          <option value="Phillipines">Philippines</option>
                          <option value="Pitcairn Island">Pitcairn Island</option>
                          <option value="Poland">Poland</option>
                          <option value="Portugal">Portugal</option>
                          <option value="Puerto Rico">Puerto Rico</option>
                          <option value="Qatar">Qatar</option>
                          <option value="Republic of Montenegro">Republic of Montenegro</option>
                          <option value="Republic of Serbia">Republic of Serbia</option>
                          <option value="Reunion">Reunion</option>
                          <option value="Romania">Romania</option>
                          <option value="Russia">Russia</option>
                          <option value="Rwanda">Rwanda</option>
                          <option value="St Barthelemy">St Barthelemy</option>
                          <option value="St Eustatius">St Eustatius</option>
                          <option value="St Helena">St Helena</option>
                          <option value="St Kitts-Nevis">St Kitts-Nevis</option>
                          <option value="St Lucia">St Lucia</option>
                          <option value="St Maarten">St Maarten</option>
                          <option value="St Pierre &amp; Miquelon">St Pierre &amp; Miquelon</option>
                          <option value="St Vincent &amp; Grenadines">St Vincent &amp; Grenadines</option>
                          <option value="Saipan">Saipan</option>
                          <option value="Samoa">Samoa</option>
                          <option value="Samoa American">Samoa American</option>
                          <option value="San Marino">San Marino</option>
                          <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>
                          <option value="Saudi Arabia">Saudi Arabia</option>
                          <option value="Senegal">Senegal</option>
                          <option value="Seychelles">Seychelles</option>
                          <option value="Sierra Leone">Sierra Leone</option>
                          <option value="Singapore">Singapore</option>
                          <option value="Slovakia">Slovakia</option>
                          <option value="Slovenia">Slovenia</option>
                          <option value="Solomon Islands">Solomon Islands</option>
                          <option value="Somalia">Somalia</option>
                          <option value="South Africa">South Africa</option>
                          <option value="Spain">Spain</option>
                          <option value="Sri Lanka">Sri Lanka</option>
                          <option value="Sudan">Sudan</option>
                          <option value="Suriname">Suriname</option>
                          <option value="Swaziland">Swaziland</option>
                          <option value="Sweden">Sweden</option>
                          <option value="Switzerland">Switzerland</option>
                          <option value="Syria">Syria</option>
                          <option value="Tahiti">Tahiti</option>
                          <option value="Taiwan">Taiwan</option>
                          <option value="Tajikistan">Tajikistan</option>
                          <option value="Tanzania">Tanzania</option>
                          <option value="Thailand">Thailand</option>
                          <option value="Togo">Togo</option>
                          <option value="Tokelau">Tokelau</option>
                          <option value="Tonga">Tonga</option>
                          <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>
                          <option value="Tunisia">Tunisia</option>
                          <option value="Turkey">Turkey</option>
                          <option value="Turkmenistan">Turkmenistan</option>
                          <option value="Turks &amp; Caicos Is">Turks &amp; Caicos Is</option>
                          <option value="Tuvalu">Tuvalu</option>
                          <option value="Uganda">Uganda</option>
                          <option value="Ukraine">Ukraine</option>
                          <option value="United Arab Erimates">United Arab Emirates</option>
                          <option value="United Kingdom">United Kingdom</option>
                          <option value="United States of America">United States of America</option>
                          <option value="Uraguay">Uruguay</option>
                          <option value="Uzbekistan">Uzbekistan</option>
                          <option value="Vanuatu">Vanuatu</option>
                          <option value="Vatican City State">Vatican City State</option>
                          <option value="Venezuela">Venezuela</option>
                          <option value="Vietnam">Vietnam</option>
                          <option value="Virgin Islands (Brit)">Virgin Islands (Brit)</option>
                          <option value="Virgin Islands (USA)">Virgin Islands (USA)</option>
                          <option value="Wake Island">Wake Island</option>
                          <option value="Wallis &amp; Futana Is">Wallis &amp; Futana Is</option>
                          <option value="Yemen">Yemen</option>
                          <option value="Zaire">Zaire</option>
                          <option value="Zambia">Zambia</option>
                          <option value="Zimbabwe">Zimbabwe</option>
                      </select></td>
                    </tr>
                </table></td>
                <td width="33%"><table width="98%" height="212">
                    <tr>
                      <td width="50%" height="30">Notification of new Projects </td>
                      <td width="50%"><p>
                          <label>
                          <input type="radio" name="Notification_yes" value="Yes" />
                            Yes</label>
                          <label>
                          <input type="radio" name="Notification_no" value="Yes" />
                            No</label>
                          <br />
                          <label></label>
                      </p></td>
                    </tr>
                    <tr>
                      <td height="36">Username</td>
                      <td><label>
                        <input type="text" name="Username" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="28">Password</td>
                      <td><label>
                        <input type="text" name="Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="33">Confirm Password </td>
                      <td><label>
                        <input type="text" name="Confirm_Password" />
                      </label></td>
                    </tr>
                    <tr>
                      <td height="34">Security Question </td>
                      <td><select name="Security_Question" onchange="">
                          <option>Mothers Maiden Name</option>
                          <option>Favourite Pets Name</option>
                          <option>Primary School</option>
                      </select></td>
                    </tr>
                    <tr>
                      <td height="31">Security Answer </td>
                      <td><label>
                        <input type="text" name="Security_Answer" />
                      </label></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="84%" border="1" align="center">
              <tr>
                <td height="82" valign="top"><table width="108%">
                    <tr>
                      <td width="84%">I have agreed that i have permission of the copyright holder to upload this information </td>
                      <td width="16%"><label>
                        <input type="checkbox" name="Copyright" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I have read the terms and conditions of this website and agree with these terms </td>
                      <td><label>
                        <input type="checkbox" name="Terms" value="Yes" />
                      </label></td>
                    </tr>
                    <tr>
                      <td>I agree with the privacy policy </td>
                      <td><label>
                        <input type="checkbox" name="Privacy" value="Yes" />
                      </label></td>
                    </tr>
                  </table>
                    <div align="right">
                      <input type="submit" name="Submit" value="Submit" />
                    </div>
                  <div align="right"></div></td>
              </tr>
            </table>
                  </form>
<?php 
} 
?>
            <p>&nbsp;</p>
            <!-- InstanceEndEditable --></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#CCCCCC"><table width="100%">
      <tr>
        <td width="41%"><span class="style26">Privacy Policy &brvbar; Terma &amp; Conditions &brvbar; Advice &brvbar; FAQ &brvbar; Contact Us </span></td>
        <td width="35%"><span class="style26">Copyright 2009 Building Bids </span></td>
        <td width="24%"><span class="style26">Site Developed by Acorn Solutions</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>

Open in new window

Commented:
Hi

Thanks that did the trick.

Natasha

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial