good morning, I am wondering if anyone can help me, this code does not seem to want to work for me. i tried to fix it and finaly got rid of all the errors but now it is just showing a blank page. [php].
Bowling Tournament Sign up
<?php if (isset($_GET['first_name']) && isset($_GET['last_name']) && isset($_GET['age']) && isset($_GET['average'])) { $BowlerFirst = $_GET['first_name']; $BowlerLast = $_GET['last_name']; $BowlerAge = $_GET['age']; $BowlerAverage = $_GET['average']; $NewBowler = $BowlerLast . ", " . "$BowlerFirst" . "," ."$BowlerAge" . "," ."$BowlerAverage" ."\n"; $BowlersFile = "bowlers.txt"; $file_handle = fopen("bowlers.txt", "rb"); while (!feof($file_handle) ) { $line_of_text = fgets($file_handle); $parts = explode(',', $line_of_text); if (($parts[0] == $BowlerFirst) && ($parts[1] == $BowlerLast)) { break; echo " $parts[0], You have already registered for bowling tor"; } else { file_put_contents("bowlers.txt", $NewBowler, FILE_APPEND); echo "
$BowlerFirst $BowlerLast has been registered for the bowling tournament.
"; } fclose($file_handle); echo "Enter another?
"; } } ?>[/php]can anyone offer any suggestions ?
thank you