Hi
I am creating some files of which are taken from database fields, the problem is the field in the database has £ in which is great as it is needed when in the browser page. The problem I have is when making the file is that it creates the newfile name as £ in the url rather than £. How do i replace PART of the field ['nightmare'] to make £ rather than $pound; please.
The line with the problem is
$newfile = ''. $file['whatever'].'/'. $file['whatever'].'-'. str_replace(' ','-',trim($file['nightmare'])) . '.php';
Thanks for any help