file_get_contents | Echo that in PHP?

Baseball Freak

New member
So I have a script. I have tried doing this:

$username = "echo file_get_contents('username.txt')";
fwrite(STDOUT, "Blah Blah Blah, $username");

How can I get $username to echo the contents in the .txt file instead of echoing echo file_get_contents('username.txt')";

I'd appreciate the help!
That's how I had it before, but it didn't work. I must've had something wrong. thanks!
 
Back
Top