cloc
Member
Правя едно статично сайтче и искам да му сложа форма за контакт, намерих една която ми допадна но лошото е че във файла където е html кода няма php скрипта. Намерих скрипта преправих го но пак не можах да го подкарам. Дайте едно рамо от къде да си сваля php файл за тази форма.
Това е кода:
<td width="361" valign="top" bgcolor="#EAE2CD" style="border:#FFFFFF 1px solid;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form id="form1" name="form1" method="post" action="">
<table width="93%" border="0" align="center" cellpadding="2" cellspacing="4" class="border">
<tr>
<td height="25" colspan="3" valign="top" class="heading">Contact Us :</span></td>
</tr>
<tr>
<td width="36%" class="body">Your Name:</td>
<td width="64%" colspan="2"><input type="text" name="textfield3" style="width:250px; height:13px;" /></td>
</tr>
<tr>
<td class="body">Phone no:</td>
<td colspan="2"><input type="text" name="textfield35" style="width:250px; height:13px;" /></td>
</tr>
<tr>
<td class="body">email Address:</td>
<td colspan="2"><input type="text" name="textfield36" style="width:250px; height:13px;" /></td>
</tr>
<tr>
<td class="body">Comments:</td>
<td colspan="2"><textarea name="textarea" rows="5" cols="" style="width:250px;"></textarea></td>
</tr>
<tr>
<td> </td>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%"><input type="image" name="imageField2" src="images/submit.gif" style="border:none;" /></td>
<td width="72%"><input type="image" name="imageField3" src="images/reset.gif" style="border:none;" /></td>
</tr>
</table></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
Това е кода:
<td width="361" valign="top" bgcolor="#EAE2CD" style="border:#FFFFFF 1px solid;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form id="form1" name="form1" method="post" action="">
<table width="93%" border="0" align="center" cellpadding="2" cellspacing="4" class="border">
<tr>
<td height="25" colspan="3" valign="top" class="heading">Contact Us :</span></td>
</tr>
<tr>
<td width="36%" class="body">Your Name:</td>
<td width="64%" colspan="2"><input type="text" name="textfield3" style="width:250px; height:13px;" /></td>
</tr>
<tr>
<td class="body">Phone no:</td>
<td colspan="2"><input type="text" name="textfield35" style="width:250px; height:13px;" /></td>
</tr>
<tr>
<td class="body">email Address:</td>
<td colspan="2"><input type="text" name="textfield36" style="width:250px; height:13px;" /></td>
</tr>
<tr>
<td class="body">Comments:</td>
<td colspan="2"><textarea name="textarea" rows="5" cols="" style="width:250px;"></textarea></td>
</tr>
<tr>
<td> </td>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%"><input type="image" name="imageField2" src="images/submit.gif" style="border:none;" /></td>
<td width="72%"><input type="image" name="imageField3" src="images/reset.gif" style="border:none;" /></td>
</tr>
</table></td>
</tr>
</table>
</form></td>
</tr>
</table></td>