Advertisements

plz help what is error in this form

Postby nameranjeet » Tue Feb 14, 2012 7:00 pm

Offline
nameranjeet
Posts: 3
Joined: Wed Dec 28, 2011 6:18 pm
Location: India
<form action="newposting.php?mode=newtopic&f=<?php echo $generalGetValue; ?>" method="post" name="post" onSubmit="return checkForm(this)">
<table cellspacing="0" width="100%" class="forumline">
<tr><td colspan="2" class="row-header"><span>Post a new topic</span></td></tr>
<?php
if(isset($inerror))
{
echo '<tr><td align="center" colspan="2" width="22%"><span class="gen"><b>';
echo $inerror; echo '</b></span></td></tr>';
}
if(isset($sucemes))
{
echo '<tr><td align="center" colspan="2" width="22%"><span class="gen"><b>';
echo $sucemes; echo '</b></span></td></tr>';
}
if((isset($subject))&& (isset($message))&& (isset($getid)))
{
echo '<tr><td align="center" colspan="2" width="22%"><span class="gen"><b>';
echo $subject."<br>".$message."<br>".$getid; echo '</b></span></td></tr>';
}

?>
<tr>
<td class="row1" width="22%"><span class="gen"><b>Subject</b></span></td>
<td class="row2" width="78%"><input type="text" name="subject" size="45" maxlength="60" style="width:98%" tabindex="2" class="post" value="" /></td>
</tr>
<tr><td class="row1" valign="top"><span class="gen"><b>Message body</b></span></td>
<td class="row2" valign="top" align="left">
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:98%" tabindex="4" class="post" ></textarea>
</span></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center">
<input type="submit" name="postmessage" class="mainoption" value="Submit" />
</td>
</tr>
</table>

</form>

Please send the error message..

Postby shruti_sharma » Mon Sep 03, 2012 11:37 am

Offline
shruti_sharma
Posts: 2
Joined: Sun Sep 02, 2012 7:17 pm
Hi

Please send the error message.. it will be easy to define the error and resolve.

Thanks