R
E
S
O
U
R
C
E
S
       Home      Products & Services      Contact Us      Links


WebHatchers will design & develop your site for you.
_______________________

Website Menu Heaven: menus, buttons, etc.
_______________________

Send us your questions.
_______________________

site search by freefind
_______________________

HOME
SEO, Google, Privacy
   and Anonymity
Browser Insanity
JavaScript
Popups and Tooltips
Free Website Search
HTML Form Creator
Animation
Buttons and Menus
Counters
Captchas
Image Uploading
CSS and HTML
PHP
AJAX
XPATH
Website Poll
IM and Texting
Databases—MySQL
   or Not MySQL
Personal Status Boards
Content Management
   Systems
Article Content
   Management Systems
Website Directory
   CMS Systems
Photo Gallery CMS
Forum CMS
Blog CMS
Customer Records
   Management CMS
Address Book CMS
Private Messaging CMS
Chat Room CMS
JavaScript Charts
   and Graphs




Free Personal Status Boards (PSB™)

Free Standard Free PSB

Free PSB Pro Version

Free Social PSB

Free Social PSB Plus (with Email)

Free Business PSB

Free Business PSB Plus (with Email)

PSB demo

Social PSB demo

Business PSB demo

So what's all this PSB stuff about?

Chart comparing business status boards

PSB hosting diagram

PSB Licence Agreement



Copyright © 2002 -
MCS Investments, Inc. sitemap

PSBs, social networking, social evolution, microcommunities, personal status boards
PSBs, social networking, business personal status boards
website design, ecommerce solutions
website menus, buttons, image rotators
Ez-Architect, home design software
the magic carpet and the cement wall, children's adventure book
the squirrel valley railroad, model railroad videos, model train dvds
the deep rock railroad, model railroad videos, model train dvds

MC (Microcommunity) Search and Match — Form

So what is an MC and why would anyone want to search it, register for it, or even hear about it? See for yourself: MCs (Microcommunities). They are the key to social enhancement and community enrichment on a scale undreamed of on the social networking sites and chat rooms that are—in comparison—a pale imitation of real connectedness and successful community functioning.

The search and match script has been specifically designed for MCs (Microcommunities), but it will work for any group matching purposes.

The scripts below are HTML form-related parts of match.php

The most interesting aspect of the form is the Willing_to_relocate section. In the head tag's JavaScript, we have the c() function which is designed to limit the number of checkboxes checked, in inputs with the name Willing_to_relocate, to one. Or the PHP distance scripts will not work. The distance scripts need to compare the zip code of the user with the zip codes of the rest of the users in the database to determine which are within a certain distance (these distances are in the $dist[] array) which has been selected by the user by him checking ONE of the checkboxes in the Willing_to_relocate section of the search form.

The c() function is run by onchange events in all the input boxes named Willing_to_relocate. (The reason these boxes all have the same name is they are from a select/option form which we converted to checkboxes for the purpose of selecting search criteria—their name attributes are supposed to be the same.) The c() function dumps any checkbox checking past the first one (in this one section only—otherwise the user is allowed to check 10 search criteria when he searches). Here is a sample input box from that section:

<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="2" onchange="c()"></td><td>*Only find groups within 1000 miles of my group's zipcode</td></tr>

The form below has a bit of PHP leading into it. If the user has not entered his selections and pressed the Submit button, the search criteria selection form will be all he sees. Scope out the form action, which uses a PHP variable to complete a query string that maintains the search type flag: match.php?searchtype=<?php echo $R; ?>". And there is the onsubmit event so the JavaScript validation will occur upon submission: onsubmit="return validatepassword()". Note that the navigation links are right in the form—it just worked out that way. The user sees the directions "Check or enter up to 10 search criteria." The maxlength attribute in the input boxes help control the user input. The States input box is a select/options list box allowing one selection only. We chose not to use the "multiple" attribute to allow multiple selections. The rest of the input boxes are checkboxes. All the ones in the Group Configuration section of the form have -1 as their value, while in the Preferences section, values start at 0 and go as high as needed for each subsection. (These used to be select/option boxes, but we converted them to checkboxes to make search criteria selection easier.) The -1 value simply is used as a flag to tell the script which section the checkbox is in.

Finally, the form has 3 hidden fields, named: entry, with a value of 1 (it's a flag), fieldnames, and fieldvalues. The latter two will get strings stuck into them in the JavaScript validation script. The strings are stringified arrays holding the search criteria, which PHP will convert back into arrays.


if($Entry==0){ ?>

<center><div class='j'><center><h1>MC Search and Match</h1><form id='formpw' name="formpw" method="post" action="match.php?searchtype=<?php echo $R; ?>" onsubmit="return validatepassword()"><br>
<a HREF="http://www.thebiganswer.info/">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;<a HREF="register-for-mc.php">Account Management</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a HREF="register-with-captcha.php">Register</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a HREF="login-to-mc.php">Login</a></center></div></center>

<div id='myform'><center><h3>Search Criteria</h3><u><i><span style='color:maroon;font-weight:bold;font-size:18px'>Check or enter up to 10 search criteria.</span></i></u></center>
<center>
<table id='y' cellspacing=0 cellpadding=0 border=0>
<tr><th colspan='2' class='c'><b>Profile</b></th></tr>
<tr><td class='i'><label for="Group Name"><b>Group Name: </b></td><td><input type="text" name="groupname" size="20" maxlength="20" value=""></label></td></tr>
<tr><td class='i'><label for="City"><b>City: </b></td><td><input type="text" name="city" size="20" maxlength="33" value=""></label></td></tr>
<tr><td class='i'><label for="State"><b>State: </b></td><td>
<select name="state" size='4'>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="DC">District of Columbia</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</label></td></tr>
<tr><td class='i'><label for="Zip"><b>Zip: </b></td><td><input type="text" name="zip" size="5" maxlength="5" value=""></label></td></tr>
<tr><th colspan='2'><b>&nbsp;</b></th></tr>
<tr><th colspan='2' class='c'><b>Group Configuration</b></th></tr>
<tr><td class='k'><input type="checkbox" name="males03" value="-1"></td><td>There are one or more males in your group that are 0-3 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males47" value="-1"></td><td>There are one or more males in your group that are 4-7 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males811" value="-1"></td><td>There are one or more males in your group that are 8-11 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males1214" value="-1"></td><td>There are one or more males in your group that are 12-14 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males1517" value="-1"></td><td>There are one or more males in your group that are 15-17 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males1823" value="-1"></td><td>There are one or more males in your group that are 18-23 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males2434" value="-1"></td><td>There are one or more males in your group that are 24-34 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males3549" value="-1"></td><td>There are one or more males in your group that are 35-49 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males5065" value="-1"></td><td>There are one or more males in your group that are 50-65 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males6679" value="-1"></td><td>There are one or more males in your group that are 66-79 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="males80" value="-1"></td><td>There are one or more males in your group that are 80 or more years old. </td></tr><BR><BR>

<tr><td class='k'><input type="checkbox" name="females03" value="-1"></td><td>There are one or more females in your group that are 0-3 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females47" value="-1"></td><td>There are one or more females in your group that are 4-7 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females811" value="-1"></td><td>There are one or more females in your group that are 8-11 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females1214" value="-1"></td><td>There are one or more females in your group that are 12-14 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females1517" value="-1"></td><td>There are one or more females in your group that are 15-17 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females1823" value="-1"></td><td>There are one or more females in your group that are 18-23 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females2434" value="-1"></td><td>There are one or more females in your group that are 24-34 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females3549" value="-1"></td><td>There are one or more females in your group that are 35-49 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females5065" value="-1"></td><td>There are one or more females in your group that are 50-65 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females6679" value="-1"></td><td>There are one or more females in your group that are 66-79 years old. </td></tr>
<tr><td class='k'><input type="checkbox" name="females80" value="-1"></td><td>There are one or more females in your group that are 80 or more years old. </td></tr><BR><BR>

<tr><td class='k'><input type="checkbox" name="childless" value="-1"></td><td>There are adults in your group that are childless. </td></tr>
<tr><td class='k'><input type="checkbox" name="emptynesters" value="-1"></td><td>There are adults in your group that are empty nesters. </td></tr>
<tr><td class='k'><input type="checkbox" name="widows" value="-1"></td><td>There are adults in your group that are widows. </td></tr>
<tr><td class='k'><input type="checkbox" name="widowers" value="-1"></td><td>There are adults in your group that are widowers. </td></tr>
<tr><td class='k'><input type="checkbox" name="married" value="-1"></td><td>There are adults in your group that are married. </td></tr>
<tr><td class='k'><input type="checkbox" name="livingtogether" value="-1"></td><td>There are adults in your group that are living together. </td></tr>
<tr><td class='k'><input type="checkbox" name="separated" value="-1"></td><td>There are adults in your group that are separated. </td></tr>
<tr><td class='k'><input type="checkbox" name="divorced" value="-1"></td><td>There are adults in your group that are divorced. </td></tr>
<tr><td class='k'><input type="checkbox" name="engaged" value="-1"></td><td>There are adults in your group that are engaged. </td></tr>
<tr><td class='k'><input type="checkbox" name="single" value="-1"></td><td>There are adults in your group that are single. </td></tr><BR><BR>

<tr><td class='k'><input type="checkbox" name="gaymales" value="-1"></td><td>There are adult men in your group that are gay. </td></tr>
<tr><td class='k'><input type="checkbox" name="lesbian" value="-1"></td><td>There are adult women in your group that are lesbian. </td></tr><BR><BR>

<tr><td class='k'><input type="checkbox" name="white" value="-1"></td><td>There are people in your group that are White. </td></tr>
<tr><td class='k'><input type="checkbox" name="black" value="-1"></td><td>There are people in your group that are Black. </td></tr>
<tr><td class='k'><input type="checkbox" name="asian" value="-1"></td><td>There are people in your group that are Asian. </td></tr>
<tr><td class='k'><input type="checkbox" name="hispanic" value="-1"></td><td>There are people in your group that are Hispanic. </td></tr>
<tr><td class='k'><input type="checkbox" name="hawaiian" value="-1"></td><td>There are people in your group that are Native Hawaiian or Pacific Islander. </td></tr>
<tr><td class='k'><input type="checkbox" name="mixed" value="-1"></td><td>There are people in your group that are Mixed. </td></tr>
<tr><td class='k'><input type="checkbox" name="criminal" value="-1"></td><td>There are people in your group that have criminal records. </td></tr><BR><BR>

<tr><th colspan='2'><b>Schools</b></th></tr>
<tr><td class='k'><input type="checkbox" name="homeschooled" value="-1"></td><td>There are children in your group that are being home schooled. </td></tr>
<tr><td class='k'><input type="checkbox" name="publicschools" value="-1"></td><td>There are children in your group that go to public schools. </td></tr>
<tr><td class='k'><input type="checkbox" name="privateschools" value="-1"></td><td>There are children in your group that go to private schools. </td></tr>
<tr><td class='k'><input type="checkbox" name="religiousschools" value="-1"></td><td>There are children in your group that go to religious schools. </td></tr>
<tr><td class='k'><input type="checkbox" name="specialschools" value="-1"></td><td>There are children in your group that go to special schools. </td></tr><BR><BR>

<tr><th colspan='2'><b>Health</b></th></tr>
<tr><td class='k'><input type="checkbox" name="allergies" value="-1"></td><td>There are people in your group that have serious allergies. </td></tr>
<tr><td class='k'><input type="checkbox" name="chronic" value="-1"></td><td>There are people in your group that have chronic illnesses. </td></tr>
<tr><td class='k'><input type="checkbox" name="mental" value="-1"></td><td>There are people in your group that have mental illnesses. </td></tr>
<tr><td class='k'><input type="checkbox" name="disabilities" value="-1"></td><td>There are people in your group that have serious disabilities. </td></tr>
<tr><td class='k'><input type="checkbox" name="ramps" value="-1"></td><td>There are people in your group who need accessibility ramps. </td></tr><BR><BR>

<tr><th colspan='2'><b>Care</b></th></tr>
<tr><td class='k'><input type="checkbox" name="willingeldercare" value="-1"></td><td>There are people in your group that are willing to do eldercare. </td></tr>
<tr><td class='k'><input type="checkbox" name="availableeldercare" value="-1"></td><td>There are people in your group that are available to do eldercare. </td></tr>
<tr><td class='k'><input type="checkbox" name="needeldercare" value="-1"></td><td>There are elders in your group that need eldercare. </td></tr>
<tr><td class='k'><input type="checkbox" name="willingchildcare" value="-1"></td><td>There are people in your group that are willing to do childcare. </td></tr>
<tr><td class='k'><input type="checkbox" name="availablechildcare" value="-1"></td><td>There are people in your group that are available to do childcare. </td></tr>
<tr><td class='k'><input type="checkbox" name="needchildcare" value="-1"><BR></td><td>There are people in your group that need childcare. </td></tr>

<tr><th colspan='2'><b>&nbsp;</b></th></tr>
<tr><th colspan='2' class='c'><b>Preferences</b></th></tr>
<tr><td colspan='2'><center><b>Smoking/Drinking</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Smoking_Drinking" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Smoking_Drinking" value="1"></td><td>Prefer nonsmokers</td></tr>
<tr><td class='k'><input type="checkbox" name="Smoking_Drinking" value="2"></td><td>Smoking not an issue</td></tr>
<tr><td class='k'><input type="checkbox" name="Smoking_Drinking" value="3"></td><td>Prefer nondrinkers</td></tr>
<tr><td class='k'><input type="checkbox" name="Smoking_Drinking" value="4"></td><td>Drinking not an issue</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Preferred Housing Type</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="1"></td><td>Row houses</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="2"></td><td>Apartments</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="3"></td><td>Mobile homes</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="4"></td><td>Manufactured homes</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="5"></td><td>Condominium</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="6"></td><td>Co-op</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="7"></td><td>Hotel</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="8"></td><td>Motel</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="9"></td><td>Farm</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="10"></td><td>Rural</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="11"></td><td>City</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="12"></td><td>Suburbs</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="13"></td><td>Retirement community</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="14"></td><td>Gated community</td></tr>
<tr><td class='k'><input type="checkbox" name="Preferred_Housing_Type" value="15"></td><td>Pocket neighborhoods</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Willing to relocate</b></center></td></tr>
<tr><td class='k'>&nbsp;</td><td align='left' style='color:blue'>*Selecting any of these will limit your results to the distance selected.</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="0" onchange="c()"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="1" onchange="c()"></td><td>Only find groups willing to move anywhere</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="2" onchange="c()"></td><td>*Only find groups within 1000 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="3" onchange="c()"></td><td>*Only find groups within 500 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="4" onchange="c()"></td><td>*Only find groups within 200 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="5" onchange="c()"></td><td>*Only find groups within 100 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="6" onchange="c()"></td><td>*Only find groups within 50 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="7" onchange="c()"></td><td>*Only find groups within 10 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="8" onchange="c()"></td><td>*Only find groups within 2 miles of my group's zipcode</td></tr>
<tr><td class='k'><input type="checkbox" name="Willing_to_relocate" value="9" onchange="c()"></td><td>Only find groups unwilling to relocate</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>MC type sought</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="1"></td><td>With children</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="2"></td><td>Without children</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="3"></td><td>Children not an issue</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="4"></td><td>Singles MC</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="5"></td><td>Married MC</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="6"></td><td>Mixed MC</td></tr>
<tr><td class='k'><input type="checkbox" name="MC_type_sought" value="7"></td><td>Marital status not an issue</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Open to be in mixed race MC</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Open_to_be_in_mixed_race_MC" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Open_to_be_in_mixed_race_MC" value="1"></td><td>Prefer to be in MC of my own race</td></tr>
<tr><td class='k'><input type="checkbox" name="Open_to_be_in_mixed_race_MC" value="2"></td><td>Prefer to be in MC with racial diversity</td></tr>
<tr><td class='k'><input type="checkbox" name="Open_to_be_in_mixed_race_MC" value="3"></td><td>Race not an issue</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Sexuality</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Sexuality" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Sexuality" value="1"></td><td>Prefer not to answer</td></tr>
<tr><td class='k'><input type="checkbox" name="Sexuality" value="2"></td><td>Open to be in mixed sexual preference MC</td></tr>
<tr><td class='k'><input type="checkbox" name="Sexuality" value="3"></td><td>Prefer to be in MC of my own sexual preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Sexuality" value="4"></td><td>Prefer to be in MC with sexual preference diversity</td></tr>
<tr><td class='k'><input type="checkbox" name="Sexuality" value="5"></td><td>Sexual preference not an issue</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Religious Openness</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Religious_Openness" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Religious_Openness" value="1"></td><td>Open to be in mixed religion MC</td></tr>
<tr><td class='k'><input type="checkbox" name="Religious_Openness" value="2"></td><td>Prefer to be in MC of my own religion</td></tr>
<tr><td class='k'><input type="checkbox" name="Religious_Openness" value="3"></td><td>Prefer to be in MC with religious diversity</td></tr>
<tr><td class='k'><input type="checkbox" name="Religious_Openness" value="4"></td><td>Religion not an issue</td></tr>
<tr><td class='k'><input type="checkbox" name="Religious_Openness" value="5"></td><td>Prefer not to answer</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Religion</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="1"></td><td>Agnostic</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="2"></td><td>Apostolic or New Apostolic</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="3"></td><td>Assemblies of God</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="4"></td><td>Atheist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="5"></td><td>Baha'I</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="6"></td><td>Baptist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="7"></td><td>Buddhist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="8"></td><td>Catholic</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="9"></td><td>Christian Reform</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="10"></td><td>Christian Science</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="11"></td><td>Christian no denomination supplied</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="12"></td><td>Church of God</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="13"></td><td>Church of the Brethren</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="14"></td><td>Church of the Nazarene</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="15"></td><td>Churches of Christ</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="16"></td><td>Congregational or United Church of Christ</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="17"></td><td>Deity</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="18"></td><td>Disciples of Christ</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="19"></td><td>Druid</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="20"></td><td>Eckankar</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="21"></td><td>Episcopalian or Anglican</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="22"></td><td>Ethical Culture</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="23"></td><td>Evangelical or Born Again</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="24"></td><td>Foursquare Gospel</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="25"></td><td>Full Gospel</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="26"></td><td>Fundamentalist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="27"></td><td>Hindu</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="28"></td><td>Holiness or Holy</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="29"></td><td>Humanist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="30"></td><td>Independent Christian Church</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="31"></td><td>Jehovah's Witness</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="32"></td><td>Jewish</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="33"></td><td>Lutheran</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="34"></td><td>Mennonite</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="35"></td><td>Methodist or Wesleyan</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="36"></td><td>Mormon or Latter Day Saints</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="37"></td><td>Muslim</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="38"></td><td>Native American</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="39"></td><td>New Age</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="40"></td><td>No religion</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="41"></td><td>Nondenominational</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="42"></td><td>Orthodox Eastern</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="43"></td><td>Other unclassified</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="44"></td><td>Pagan</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="45"></td><td>Pentecostal or Charismatic</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="46"></td><td>Presbyterian</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="47"></td><td>Protestant no denomination supplied</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="48"></td><td>Quaker</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="49"></td><td>Rastafarian</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="50"></td><td>Reformed or Dutch Reform</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="51"></td><td>Salvation Army</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="52"></td><td>Santeria</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="53"></td><td>Scientologist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="54"></td><td>Secular</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="55"></td><td>Seventh Day Adventist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="56"></td><td>Sikh</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="57"></td><td>Spiritualist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="58"></td><td>Taoist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="59"></td><td>Unitarian or Universalist</td></tr>
<tr><td class='k'><input type="checkbox" name="Religion" value="60"></td><td>Wiccan</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Childrearing Style and Preferences</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="1"></td><td>Liberal or permissive</td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="2"></td><td>Authoritative</td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="3"></td><td>Authoritarian</td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="4"></td><td>Liberal and authoritative mix</td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="5"></td><td>Liberal and authoritarian mix</td></tr>
<tr><td class='k'><input type="checkbox" name="Childrearing_Style_and_Preferences" value="6"></td><td>Authoritative and authoritarian mix</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Pets</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="1"></td><td>Have dogs</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="2"></td><td>Have cats</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="3"></td><td>Have birds</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="4"></td><td>Have other pets</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="5"></td><td>Have barking dogs</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="6"></td><td>Have screeching birds</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="7"></td><td>Tolerant of neighbors' pet sounds</td></tr>
<tr><td class='k'><input type="checkbox" name="Pets" value="8"></td><td>Not tolerant of neighbors' pet sounds</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Personal Entertainment</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Personal_Entertainment" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Personal_Entertainment" value="1"></td><td>Tolerant of neighbors' loud music or TV</td></tr>
<tr><td class='k'><input type="checkbox" name="Personal_Entertainment" value="2"></td><td>Not tolerant of neighbors' loud music or TV</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Housing—Interested in Common Shared Space for</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="1"></td><td>Cooking</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="2"></td><td>Laundry</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="3"></td><td>Exercise</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="4"></td><td>Childcare</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="5"></td><td>Eldercare</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="6"></td><td>Home schooling</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="7"></td><td>Meetings</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="8"></td><td>Entertainment</td></tr>
<tr><td class='k'><input type="checkbox" name="Housing_Interested_in_Common_Shared_Space_for" value="9"></td><td>Not interested in common space</td></tr>
<BR><BR>
<tr><td colspan='2'>
<center><b>Employment</b></center></td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="0"></td><td>No preference</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="1"></td><td>Management, business, and financial</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="2"></td><td>Professional and related</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="3"></td><td>Office and administrative support</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="4"></td><td>Service</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="5"></td><td>Installation, maintenance, and repair</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="6"></td><td>Transportation and material moving</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="7"></td><td>Construction and extraction</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="8"></td><td>Production</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="9"></td><td>Sales and related</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="10"></td><td>Farming, fishing, and forestry</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="11"></td><td>Armed forces</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="12"></td><td>Part-time</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="13"></td><td>Temporary</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="14"></td><td>Retired</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="15"></td><td>Unemployed</td></tr>
<tr><td class='k'><input type="checkbox" name="Employment" value="16"></td><td>Independently wealthy</td></tr>
<tr><th colspan='2'><b>&nbsp;</b></th></tr>
<input name="entry" type="hidden" value="1">
<input name='fieldname' type='hidden' value=''>
<input name='fieldvalue' type='hidden' value=''>
<tr><td class='k'>&nbsp;</td><td><BR><input type="submit" value="Submit" class='submit'>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" value="Reset" class='submit'></td></tr></table>
</form><BR><BR>
</div>

<?php
mysql_close();
}
?>

</body>
</html>