can somebody tell me whats wrong with this please? it comes up Invalid WML code....
Code:
echo "
";
echo "<card>";
echo "<wml>";
?>
<?php
header("Cache-Control: no-cache, must-revalidate");
include("config.inc.php");
header("Pragma: no-cache");
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\">";
echo "<wml>";
echo "<card id=\"card1\" title=\"Register\">";
echo "<p align=\"center\">";
?>
You see * is need to fill out.
Thank you
-------
Username:*
<input name="username" maxlength="17" />
Password:*
<input name="password" maxlength="10" />
Name:
<input name="name" maxlength="10" />
Location:
<input name="location" maxlength="15" />
Age:*
<input name="age" maxlength="3" />
Sex:*
<input name="sex" maxlength="6" />
About Me:
<input name="about" maxlength="80" />
Pic Link: (not inc http://)
<input name="picture" maxlength="100" />
Email Address:*
<input name="email" maxlength="50" />
<?php
echo "<a title=\"Enter\" href=\"check.php?username=$(username)&name=$(name)&location=$(location)&
age=$(age)&sex=$(sex)&about=$(about)&email=$(email)&password=$(password)&picture=$(picture)\">Submit</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
?>
Comment