to all,
i have a syntax problem with my code....i hope someone can be nice enough to help me see where?
quote:
<? if ($POST["txtUsername"] == ""):
Username not stated. Please Enter A Username.
<? elseif ($POST["txtPassword"] == ""): ?>
Password Not Entered. Please Enter Your Password.
<? elseif (!$POST["txtPassword"] == $POST["txtPassAgain"]): ?>
Password Mismatch.Please Match Your Password.
<? elseif ($POST["txtEmail"] == ""): ?>
Email Not Entered. Please Enter Your Valid Email Address.
<? elseif (!$POST["txtEmail"] == $POST["txtEmailAgain"]): ?>
Email Address Mismatch. Please Match Your Email Address.
<? elseif ($POST["selGender"] == ""): ?>
You Must Select YOur Gender.
<? elseif ($_POST["txtContact"] == ""): ?>
Please Enter Your Contact Number For Getting Latest News.
</strong></dfn></font></td></tr>
<? else: ?>
<tr>
<td width="46%"><strong>Username: <? ($POST["txtUsername"]): ?> </strong></td>
<td width="54%"><strong>ICQ Number: <? ($POST["txtIcqnum"]): ?></strong>
</td>
at the <? else: ?> area....it says this error:
quote:
Parse error: parse error, unexpected ':' in C:\Program Files\Apache Group\Apache\htdocs\halo\registerConfirm.php on line 56
can some one pls help?thanking you in advance.