</h1>
		
		<div>
			<ul>
			<?php 
//find a match
for ($i = 0; $i < count($file); $i++) {
    //these are all of the necessary variables to solve the comparisions
    //store string of the current persons info
    $tmp_person = $file[$i];
    //convert the string into an array
    $tmp_person_array = explode(",", $tmp_person);
    //this is to determine the image used if the person is a match
    $userimg = "";
    //opposite gender
    if (checkgender($gender, $tmp_person_array[1])) {
        //store type of image name
        $userimg = setuserimg($tmp_person_array[1]);
        //compatible ages
        if (checkage($minAge, $maxAge, $tmp_person_array[2])) {
            //same operating
            if (checkoperating($operating, $tmp_person_array[4])) {
                //share at least one letter in same position
                if (checkpersonality($personality, $tmp_person_array[3])) {
                    //all are true so it is a match!
                    //create a li item
                    ?>
								<li class="match">
									<p> <img src="<?php 
                    echo $userimg;
                    ?>
</h1>
		
		<div>
		<ul>
			<?php 
//find a match
for ($i = 0; $i < count($file); $i++) {
    //these are all of the necessary variables to solve the comparisions
    //store string of the current persons info
    $tmp_person = $file[$i];
    //convert the string into an array
    $tmp_person_array = explode(",", $tmp_person);
    //this is to determine the image used if the person is a match
    $userimg = "";
    //opposite gender
    if (checkgender($gender, $tmp_person_array[1], $seek)) {
        //store type of image name
        $userimg = setuserimg($tmp_person_array[1]);
        //compatible ages
        if (checkage($minAge, $maxAge, $tmp_person_array[2])) {
            //same operating
            if (checkoperating($operating, $tmp_person_array[4])) {
                //share at least one letter in same position
                if (checkpersonality($personality, $tmp_person_array[3])) {
                    //all are true so it is a match!
                    //create a li item
                    ?>
								<li class="match">
									<p> <img src="<?php 
                    echo $userimg;
                    ?>