I have this to make a file ... but the file created is only ever .php, it is like it is not echoing the field name.
$newfile ="" . str_replace(' ','-',trim($file['title'])) . ".php";
and the next one i tried to echo out in the page came out blank too?
<?php $txt1 = "'. $file['title'] . '"?>
Hope some one can help :)