rlange - 2:56 pm on Jul 24, 2012 (gmt 0)
"%s\t%s\n" (single quotes to double quotes).
A single-quoted string [php.net] in PHP is a literal string. That means, in your current code,
fscanf() is looking for, literally, a "\" followed by a "t" instead if the tab character.