hi
i am trying to develop a site.i am using php and wml.this is my first program.can any one say why my below code is not woking
<?php
header("Content-type: text/vnd.wap.wml");
echo " xml version=\"1.0\" ";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<card>
<?
require_once('./common/dblayer1.php');
$query = "select * from login";
$result = mysql_query($query);
while ($row = mysql_fetch_array($result))
{
echo $row[0];
}
?>
</card>
</wml>