Thanks for your help. My next problem is how do I pass the value to a function ie
$matches = MyCSV_SearchEntry("Stivotelnos.csv", "1",$player);
I have tried
$player1=$_POST['$player'];
and passing $player1 to the function but to no avail.
I get an "eregi(): REG_EMPTY " message due to passing no string.