01-03-2010, 09:49 PM
(01-03-2010, 09:31 PM)Nyx- Wrote: does the {} get printed also? i mean wouldnt the best way just be fwrite($handle, $ip . "\n");
No...
That's useful when you want to use a variable within a string....
PHP Code:
echo "This will print {$var}s and add s on the end :D...";
But your way is also fine, I just like the looks of {}..