Ok, converted this page to xhtml but had couldn't login then...
Wml Page: CODE
<?php header ("Content-type:text/vnd.wap.wml; charset=utf-8"); print '<?xml version="1.0" encoding="UTF-8"?>'.'<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">'.
'<wml><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>';
//¢ª«ÏÚ ¥¬ ª®Ä¨£ÇÁ Ö¨®Ì© Ä ©«
include "./ini.php";
//¢Ì¢®¤¨¬ Â×Á ¨ÖÇ ¢ ¡Á ǧ¥Á
print '<card title="DreamWap">'.
'
';
print "<img src="logo.gif" alt="LOGO"/>
";
$r = @rand(0,100000);
//§ ¯Á®Â ª®«¨Ú¥Â×¢® ®« © ¢ ¯Á¨Å®¦¥©
$pr_count = @mysql_query("SELECT count() FROM ".$px.$utable." WHERE ltime>'".intval(time()-$offline)."';");
//¯¨Å ¥¬ ¢ ¬ ¨¢
$pdc = @mysql_fetch_array($pr_count);
$count = $pdc['count()'];
//§ ¯Á®Â ڨ«� Á¥£¨Â×Á Ö¨©
$q_regs = @mysql_query("select count() from ".$px.$utable.";");
$nregs = @mysql_fetch_array($q_regs);
//¯Á®¤®«¦¥¨¥ ¢Ì¢®¤ Â×Á ¨ÖÌ
//print '['.$lang['vote'].']
';
print $lang['welcome'].'
'.
''.$lang['in_the_chat'].$count.$lang['people'].'
'.
'<img src='line.gif' alt='====='/>
'.
''.$lang['login'].':
'.
'<input type="text" name="login"/>
'.
''.$lang['pass'].':
'.
'<input type="password" name="pass'.$r.'"/>
'.
'<anchor title="go">'.$lang['enter'].'<go href="enter.php" method="post">'.
'<postfield name="login" value="$(login)"/>'.
'<postfield name="pass" value="$(pass'.$r.')"/>'.
'</go>'.
'</anchor>'.
'
'.$lang['reg'].''.
'
-----'.
'
'.$lang['regs'].': '.$nregs['count()'].
'
'.$lang['main'].''.
'
';
print '
</card></wml>';
//Á §ÁÌ¢ ¥¬ ®¥¤¨¥¨¥  ¡ §®©
@mysql_close();
ob_end_flush();
?>
xhtml code: CODE
<? echo("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><head>
<title>DreamWap ™ </title>
<link rev="made" href="mailto:quintin@spiderwap.co.za" />
<link rev="start" href="./" title="Home Page" />
<style type="text/css">
a:link{color: #CC9999;}
a:visited{color: #CC9966;}
a:hover{color: #FF0000;background: #006666;}
a:active{color: #CC9933;background: #006666;}
a:focus{color: #FF0000;background: #006666;}
.head { background-color: #000000; padding: 2px 2px 2px 2px; margin: 3px 0 0; color: #CC00CC; border-width:0px 0; border-style:solid; border-color: #FF00FF; } .foot { background-color: #9900CC; padding: 2px 2px 2px 2px; margin: 3px 0 0; color: #FFFF00; border-width:0px 0; border-style:solid; border-color: #FF00FF; }
</style> <link rel="shortcut icon" type="image/x-icon" href="logo.gif" /> <meta http-equiv="Cache-Control" content="must-revalidate" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta name="description" content="description" /> <meta name="keywords" content="Best downloads afrikaans bo chat forum wap web xxx love" /></head>
<body>
<?php
//¢ª«ÏÚ ¥¬ ª®Ä¨£ÇÁ Ö¨®Ì© Ä ©«
include "./ini.php";
//¢Ì¢®¤¨¬ Â×Á ¨ÖÇ ¢ ¡Á ǧ¥Á
'';
print "<img src=\"logo.gif\" alt=\"LOGO\"/>
";
$r = @rand(0,100000);
//§ ¯Á®Â ª®«¨Ú¥Â×¢® ®« © ¢ ¯Á¨Å®¦¥©
$pr_count = @mysql_query("SELECT count(*) FROM `".$px.$utable."` WHERE ltime>'".intval(time()-$offline)."';");
//¯¨Å ¥¬ ¢ ¬ ¨¢
$pdc = @mysql_fetch_array($pr_count);
$count = $pdc['count(*)'];
//§ ¯Á®Â ڨ«� Á¥£¨Â×Á Ö¨©
$q_regs = @mysql_query("select count(*) from `".$px.$utable."`;");
$nregs = @mysql_fetch_array($q_regs);
//¯Á®¤®«¦¥¨¥ ¢Ì¢®¤ Â×Á ¨ÖÌ
//print '[['.$lang['vote'].']](http://seclub.org/?uid=219)
';
print $lang['welcome'].'
'.
''.$lang['in_the_chat'].$count.$lang['people'].'
'.
//////////////////////////////////////////////////////////////
'<form method=\'post\' action=\'enter.php\'>'.
''.$lang['login'].':
'.
'<input type="text" name="login"/>
'.
''.$lang['pass'].':
'.
'<input type="password" name="pass'.$r.'"/>
'.
'<input type=\'submit\' name=\'Submit\' value=\'Log In\'/>
'.
'</form>'.
//////////////////////////////////////////////////////////////
'
['.$lang['reg'].'](#)'.
'
'.$lang['regs'].': '.$nregs['count(*)'].
'
['.$lang['main'].'](http://dreamwap.wen9.org)'.
'
';
//Á §ÁÌ¢ ¥¬ ®¥¤¨¥¨¥  ¡ §®©
@mysql_close();
ob_end_flush();
?>
© DreamWap
</body></html>What am i dong wrong, and could someone please fix the error for me?