Private Message system

Post here is you are having problems with any of the tutorials.
Post Reply
ruwaid
Posts: 4
Joined: Thu Jan 05, 2012 2:50 pm

Private Message system

Post 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.
Last edited by ruwaid on Thu Jan 05, 2012 3:39 pm, edited 3 times in total.
User avatar
Temor
Posts: 1186
Joined: Thu May 05, 2011 8:04 pm

Re: Private Message system

Post 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.
ruwaid
Posts: 4
Joined: Thu Jan 05, 2012 2:50 pm

Re: Private Message system

Post 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
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Private Message system

Post 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.
Image
Post Reply