\n"; //carriage return twice print "The price entered is : " . "$varMaxPrice" . "
"; //print to screen the amount entered print "
Properties found:-

"; $fileName="propDetails.txt"; //puts file called propDetails into variable filename $filePointer = fopen($fileName,"r"); //opens propDetails for read $aFile=file($fileName); //puts file contents of propDetails into array called aFile for($myCount=0; $myCount
\n "; //create a checkbox called $boxname, eg box0, box1, box2 etc } } //end of outer loop print "

"; print ""; // print ""; function getValue($text,$position) //create the two variables to hold the passed values { $intoArray = explode(",",$text); //explode reads the text according to the passed values return $intoArray[$position]; //returns the text to where it was called in the code, puts the result into $aWord } //end of function getValue fclose ($filePointer); //close filePointer ?>