Thanks. Your mention of charsets got me looking in more detail. The page had
2 charset declarations!
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
then later
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Removing the iso charset appears to have fixed the problem. It now leaves
all HTML entities alone and leaves my PHP code alone too!
Thanks for your help
"Corey Bryant" wrote:
> The codes you gave are the same.
>
> For the £ - are you using & p o u n d ; (without the spaces)?
>
> What charset are you using? Check out
> http://www.iwdn.net/showthread.php?t=2864 for more information on this
>
> "thisisandrew" wrote:
>
> > I insert some PHP code into my pages title tag and when I save the page
> > Frontpage turns some characters into their HTML entity equivalents.
> >
> > e.g. <title>Page Tile - <?php echo $variable; ?> </title>
> > turn to <title>Page Tile - <?php echo $variable; ?> </title>
> >
> > When I place an HTML entity £ into the code of my page then click save it
> > converts it into the ASCII character £ which then looks like ? when the
> > server serves the page.
> >
> > e.g. <td>Price: £ <?php echo $price; ?> </td>
> > turns to <td>Price: £ <?php echo $price; ?> </td>
> >
> > Any ideas why this may be happening? Maybe I shouldn't be attempting to use
> > Frontpage when I'm writing PHP code in the page as well!?