Does anyone have a clue about why I am getting a parse error on this page? http://www.addison-homes.com/error.php
It appears to work fine is if I put this on top: <?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
instead of: <?xml version="1.0" encoding="iso-8859-1"?>
This is a php question, not a CSS question. Thus i've marked it as OT. further php and other non-css questions should be addressed to a different list (or to me personally, and i'll try to help)
try this:
<?php
$charset = "iso-8859-1";
$mime = "text/html";
$prolog_type = "<?xml version='1.0' encoding='$charset' ?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'
'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>";
header("Content-Type: $mime;charset=$charset"); header("Vary: Accept"); print $prolog_type;
?>
feel free to change the doctype to suit your needs.
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/