Just modify your TEXTAREA code a bit... <textarea><?php $file_contents ?></textarea> You need to tell the PHP processor that this is a PHP variable, not an HTML literal. That's all. Walter