Ok, what I am trying to do is read a set of values from a file. For example:

1=stuff
2=more stuff

Now, this is the code I am using to get the values:
PHP Code:
<?
$pFile = fopen ("data.txt","r");

while ($info = fscanf($pFile, "%d=%s\n"))
{
    list($first, $second) = $info;
    echo $first . ": " . $second . "<br>";
}
fclose($pFile);
?>
However, the problem is, it only reads up to the whitespace, so I get "more" for the second line instead of "more stuff." How do I take in spaces too?