Page 1 of 1

Private Message system

Posted: Thu Jan 05, 2012 2:55 pm
by ruwaid
<?xml verson="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:xsi="">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" href="ext/css/main.css" />
        <title>Message System</title>
    </head>
    <body>
        <div id="wrap">
            <?php
            
            ?>
        </div>
    </body>
</html>
Error: Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\PMS\index.php on line 1
Line 1 = <?xml verson="1.0" encoding="UTF-8"?>
and line 3 on xmlns:xsi= i couldn't find what to write there

Please help me.

Re: Private Message system

Posted: Thu Jan 05, 2012 3:27 pm
by Temor
what exactly is the problem? I'm having a hard time understanding what your problem is.

And please put your code between codetags.

Re: Private Message system

Posted: Thu Jan 05, 2012 3:34 pm
by ruwaid
my problem is that i get an error "Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\PMS\index.php on line 1"
line 1 = <?xml verson="1.0" encoding="UTF-8"?> and in line 3 in xmlns:xsi= i couldnt find what to write there

Re: Private Message system

Posted: Sun Jan 08, 2012 12:38 am
by jacek
<? is a shorter version of <?php so you need to replace
<?xml verson="1.0" encoding="UTF-8"?>
with
<?php echo '<?xml verson="1.0" encoding="UTF-8"?>'; ?>
Or you could remove it entirely.