T
thisisandrew
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!?
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!?