0

can anyone help me with php code for my form ?

<table border="0" align="left" cellpadding="2" cellspacing="0" bgcolor="transparent" style="text-align:left;">
<tr>
<td style="" colspan="2">
<span style="text-align: left"><font face="Verdana" size="2" color="#000000"><b style="font-size:20px;">Contact Form</b></font><font face="Verdana" size="2" color="#000000"></font><font face="Verdana" size="2" color="#000000"></font></span><span style="text-align: left"><font face="Verdana" size="2" color="#000000"></font></span><font face="Verdana" size="2" color="#000000"><br />
<br /></font>
</td>
</tr>
<tr valign="top">
<td style="text-align: left;" align="">
<font face="Verdana" size="2" color="#000000"><b>Name</b></font> <span style="color:red;"><small>*</small></span>
</td>
</tr>
<tr>
<td style="">
<input id="element_0" name="element_0" value="" size="30" class="validate[required]" type="text" />
<div style="padding-bottom:8px;color:#000000;">
<small><font face="Verdana">Enter your Name</font></small>
</div>
</td>
</tr>
<tr valign="top">
<td align="">
<font face="Verdana" size="2" color="#000000"><b>Phone Number</b></font> <span style="color:red;"><small>*</small></span>
</td>
</tr>
<tr>
<td style="">
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td style='padding-left:0px;'>
<input maxlength='3' style='width:30px;' value='' id='element_1_1' name='element_1[]' type='text' class='validate[required,custom[onlyNumber],length[3,3]]' /><br />
<font face="Verdana" size="2" color="#000000">###</font>
</td>
<td style='padding-top:5px;padding-left:3px;' valign='top'>
<font face="Verdana" size="2" color="#000000">-</font>
</td>
<td style='padding-left:3px;'>
<input maxlength='3' style='width:30px;' value='' id='element_1_2' name='element_1[]' type='text' class='validate[required,custom[onlyNumber],length[3,3]]' /><br />
<font face="Verdana" size="2" color="#000000">###</font>
</td>
<td style='padding-top:5px;padding-left:3px;' valign='top'>
<font face="Verdana" size="2" color="#000000">-</font>
</td>
<td style='padding-left:3px;'>
<input maxlength='4' style='width:40px;' value='' id='element_1_3' name='element_1[]' type='text' class='validate[required,custom[onlyNumber],length[4,4]]' /><br />
<font face="Verdana" size="2" color="#000000">####</font>
</td>
</tr>
</table>
<div style="padding-bottom:8px;color:#000000;"></div>
</td>
</tr>
<tr valign="top">
<td style="" align="">
<font face="Verdana" size="2" color="#000000"><b>Email</b></font> <span style="color:red;"><small>*</small></span>
</td>
</tr>
<tr>
<td style="">
<input id="element_2" name="element_2" class="validate[required,custom[email]]" value="" size="30" type="text" />
<div style="padding-bottom:8px;color:#000000;"></div>
</td>
</tr>
<tr valign="top">
<td style="" align="">
<font face="Verdana" size="2" color="#000000"><b>Address</b></font> <span style="color:red;"><small>*</small></span>
</td>
</tr>
<tr>
<td style="">
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
<tr>
<td colspan='2' style='padding-left:0;'>
<input value='' type='text' style='width:99%;' id='element_3_1' name='element_3[]' class='validate[required]' /><br />
<font face="Verdana" size="2" color="#000000">Street Address</font>
</td>
</tr>
<tr>
<td colspan='2' style='padding-left:0;'>
<input value='' type='text' style='width:99%;' id='element_3_2' name='element_3[]' class='validate[optional]' /><br />
<font face="Verdana" size="2" color="#000000">Address Line 2</font>
</td>
</tr>
<tr>
<td style='width:50%;padding-left:0;'>
<input value='' type='text' style='width:99%;' id='element_3_3' name='element_3[]' class='validate[required]' /><br />
<font face="Verdana" size="2" color="#000000">City</font>
</td>
<td style='width:50%;padding-left:5px;'>
<input value='' type='text' style='width:99%;' id='element_3_4' name='element_3[]' class='validate[required]' /><br />
<font face="Verdana" size="2" color="#000000">State / Province / Region</font>
</td>
</tr>
<tr>
<td style='width:50%;padding-left:0;'>
<input value='' type='text' style='width:99%;' id='element_3_5' name='element_3[]' class='validate[required]' /><br />
<font face="Verdana" size="2" color="#000000">Postal / Zip Code</font>
</td>
<td style='width:50%;padding-left:5px;'>
<select style='width:100%;' id='element_3_6' name='element_3[]' class='validate[required]'>
<option value="India">India</option>
<optgroup label="North America">
<option value="Antigua and Barbuda">
Antigua and Barbuda
</option>
<option value="Aruba,Bahamas">
Aruba,Bahamas
</option>
<option value="Barbados">
Barbados
</option>
<option value="Belize">
Belize
</option>
<option value="Canada">
Canada
</option>
<option value="Cook Islands">
Cook Islands
</option>
<option value="Costa Rica">
Costa Rica
</option>
<option value="Cuba">
Cuba
</option>
<option value="Dominica">
Dominica
</option>
<option value="Dominican Republic">
Dominican Republic
</option>
<option value="El Salvador">
El Salvador
</option>
<option value="Grenada">
Grenada
</option>
<option value="Guatemala">
Guatemala
</option>
<option value="Haiti">
Haiti
</option>
<option value="Honduras">
Honduras
</option>
<option value="Jamaica">
Jamaica
</option>
<option value="Mexico">
Mexico
</option>
<option value="Netherlands Antilles">
Netherlands Antilles
</option>
<option value="Nicaragua">
Nicaragua
</option>
<option value="Panama ">
Panama
</option>
<option value="Puerto Rico ">
Puerto Rico
</option>
<option value="Saint Kitts and Nevis">
Saint Kitts and Nevis
</option>
<option value="Saint Lucia">
Saint Lucia
</option>
<option value="Saint Vincent and the Grenadines">
Saint Vincent and the Grenadines
</option>
<option value="Trinidad and Tobago">
Trinidad and Tobago
</option>
<option value="United States">
United States
</option>
</optgroup>
<optgroup label="South America">
<option value="Argentina">
Argentina
</option>
<option value="Bolivia">
Bolivia
</option>
<option value="Brazil">
Brazil
</option>
<option value="Chile">
Chile
</option>
<option value="Colombia">
Colombia
</option>
<option value="Ecuador">
Ecuador
</option>
<option value="Guyana">
Guyana
</option>
<option value="Paraguay">
Paraguay
</option>
<option value="Peru">
Peru
</option>
<option value="Suriname">
Suriname
</option>
<option value="Uruguay">
Uruguay
</option>
<option value="Venezuela">
Venezuela
</option>
</optgroup>
<optgroup label="Europe">
<option value="Albania">
Albania
</option>
<option value="Andorra">
Andorra
</option>
<option value="Armenia">
Armenia
</option>
<option value="Austria">
Austria
</option>
<option value="Azerbaijan">
Azerbaijan
</option>
<option value="Belarus">
Belarus
</option>
<option value="Belgium">
Belgium
</option>
<option value="Bosnia and Herzegovina">
Bosnia and Herzegovina
</option>
<option value="Bulgaria">
Bulgaria
</option>
<option value="Croatia">
Croatia
</option>
<option value="Cyprus">
Cyprus
</option>
<option value="Czech Republic">
Czech Republic
</option>
<option value="Denmark">
Denmark
</option>
<option value="Estonia">
Estonia
</option>
<option value="Faroe Islands">
Faroe Islands
</option>
<option value="Finland">
Finland
</option>
<option value="France">
France
</option>
<option value="Georgia">
Georgia
</option>
<option value="Germany">
Germany
</option>
<option value="Greece">
Greece
</option>
<option value="Hungary">
Hungary
</option>
<option value="Iceland">
Iceland
</option>
<option value="Ireland">
Ireland
</option>
<option value="Italy">
Italy
</option>
<option value="Latvia">
Latvia
</option>
<option value="Liechtenstein">
Liechtenstein
</option>
<option value="Lithuania">
Lithuania
</option>
<option value="Luxembourg">
Luxembourg
</option>
<option value="Macedonia">
Macedonia
</option>
<option value="Malta">
Malta
</option>
<option value="Moldova">
Moldova
</option>
<option value="Monaco">
Monaco
</option>
<option value="Montenegro">
Montenegro
</option>
<option value="Netherlands">
Netherlands
</option>
<option value="Norway">
Norway
</option>
<option value="Poland">
Poland
</option>
<option value="Portugal">
Portugal
</option>
<option value="Romania">
Romania
</option>
<option value="San Marino">
San Marino
</option>
<option value="Serbia">
Serbia
</option>
<option value="Slovakia">
Slovakia
</option>
<option value="Slovenia">
Slovenia
</option>
<option value="Spain">
Spain
</option>
<option value="Sweden">
Sweden
</option>
<option value="Switzerland">
Switzerland
</option>
<option value="Ukraine">
Ukraine
</option>
<option value="United Kingdom">
United Kingdom
</option>
<option value="Vatican City">
Vatican City
</option>
</optgroup>
<optgroup label="Asia">
<option value="Afghanistan">
Afghanistan
</option>
<option value="Bahrain">
Bahrain
</option>
<option value="Bangladesh">
Bangladesh
</option>
<option value="Bhutan">
Bhutan
</option>
<option value="Brunei Darussalam">
Brunei Darussalam
</option>
<option value="Myanmar">
Myanmar
</option>
<option value="Cambodia">
Cambodia
</option>
<option value="China">
China
</option>
<option value="East Timor">
East Timor
</option>
<option value="Hong Kong">
Hong Kong
</option>
<option value="India" selected="selected">
India
</option>
<option value="Indonesia">
Indonesia
</option>
<option value="Iran">
Iran
</option>
<option value="Iraq">
Iraq
</option>
<option value="Israel">
Israel
</option>
<option value="Japan">
Japan
</option>
<option value="Jordan">
Jordan
</option>
<option value="Kazakhstan">
Kazakhstan
</option>
<option value="North Korea">
North Korea
</option>
<option value="South Korea">
South Korea
</option>
<option value="Kuwait">
Kuwait
</option>
<option value="Kyrgyzstan">
Kyrgyzstan
</option>
<option value="Laos">
Laos
</option>
<option value="Lebanon">
Lebanon
</option>
<option value="Malaysia">
Malaysia
</option>
<option value="Maldives">
Maldives
</option>
<option value="Mongolia">
Mongolia
</option>
<option value="Nepal">
Nepal
</option>
<option value="Oman">
Oman
</option>
<option value="Pakistan">
Pakistan
</option>
<option value="Palestine">
Palestine
</option>
<option value="Philippines">
Philippines
</option>
<option value="Qatar">
Qatar
</option>
<option value="Russia">
Russia
</option>
<option value="Saudi Arabia">
Saudi Arabia
</option>
<option value="Singapore">
Singapore
</option>
<option value="Sri Lanka">
Sri Lanka
</option>
<option value="Syria">
Syria
</option>
<option value="Taiwan">
Taiwan
</option>
<option value="Tajikistan">
Tajikistan
</option>
<option value="Thailand">
Thailand
</option>
<option value="Turkey">
Turkey
</option>
<option value="Turkmenistan">
Turkmenistan
</option>
<option value="United Arab Emirates">
United Arab Emirates
</option>
<option value="Uzbekistan">
Uzbekistan
</option>
<option value="Vietnam">
Vietnam
</option>
<option value="Yemen">
Yemen
</option>
</optgroup>
<optgroup label="Oceania">
<option value="Australia">
Australia
</option>
<option value="Fiji">
Fiji
</option>
<option value="Kiribati">
Kiribati
</option>
<option value="Marshall Islands">
Marshall Islands
</option>
<option value="Micronesia">
Micronesia
</option>
<option value="Nauru">
Nauru
</option>
<option value="New Zealand">
New Zealand
</option>
<option value="Palau">
Palau
</option>
<option value="Papua New Guinea">
Papua New Guinea
</option>
<option value="Samoa">
Samoa
</option>
<option value="Solomon Islands">
Solomon Islands
</option>
<option value="Tonga">
Tonga
</option>
<option value="Tuvalu">
Tuvalu
</option>
<option value="Vanuatu">
Vanuatu
</option>
</optgroup>
<optgroup label="Africa">
<option value="Algeria">
Algeria
</option>
<option value="Angola">
Angola
</option>
<option value="Benin">
Benin
</option>
<option value="Botswana">
Botswana
</option>
<option value="Burkina Faso">
Burkina Faso
</option>
<option value="Burundi">
Burundi
</option>
<option value="Cameroon">
Cameroon
</option>
<option value="Cape Verde">
Cape Verde
</option>
<option value="Central African Republic">
Central African Republic
</option>
<option value="Chad">
Chad
</option>
<option value="Comoros">
Comoros
</option>
<option value="Democratic Republic of the Congo">
Democratic Republic of the Congo
</option>
<option value="Republic of the Congo">
Republic of the Congo
</option>
<option value="Djibouti">
Djibouti
</option>
<option value="Egypt">
Egypt
</option>
<option value="Equatorial Guinea">
Equatorial Guinea
</option>
<option value="Eritrea">
Eritrea
</option>
<option value="Ethiopia">
Ethiopia
</option>
<option value="Gabon">
Gabon
</option>
<option value="Gambia">
Gambia
</option>
<option value="Ghana">
Ghana
</option>
<option value="Gibraltar">
Gibraltar
</option>
<option value="Guinea">
Guinea
</option>
<option value="Guinea-Bissau">
Guinea-Bissau
</option>
<option value="Cote d'Ivoire">
Cote d'Ivoire
</option>
<option value="Kenya">
Kenya
</option>
<option value="Lesotho">
Lesotho
</option>
<option value="Liberia">
Liberia
</option>
<option value="Libya">
Libya
</option>
<option value="Madagascar">
Madagascar
</option>
<option value="Malawi">
Malawi
</option>
<option value="Mali">
Mali
</option>
<option value="Mauritania">
Mauritania
</option>
<option value="Mauritius">
Mauritius
</option>
<option value="Morocco">
Morocco
</option>
<option value="Mozambique">
Mozambique
</option>
<option value="Namibia">
Namibia
</option>
<option value="Niger">
Niger
</option>
<option value="Nigeria">
Nigeria
</option>
<option value="Rwanda">
Rwanda
</option>
<option value="Sao Tome and Principe">
Sao Tome and Principe
</option>
<option value="Senegal">
Senegal
</option>
<option value="Seychelles">
Seychelles
</option>
<option value="Sierra Leone">
Sierra Leone
</option>
<option value="Somalia">
Somalia
</option>
<option value="South Africa">
South Africa
</option>
<option value="Sudan">
Sudan
</option>
<option value="Swaziland">
Swaziland
</option>
<option value="United Republic of Tanzania">
United Republic of Tanzania
</option>
<option value="Togo">
Togo
</option>
<option value="Tunisia">
Tunisia
</option>
<option value="Uganda">
Uganda
</option>
<option value="Zambia">
Zambia
</option>
<option value="Zimbabwe">
Zimbabwe
</option>
</optgroup>
</select><br />
<font face="Verdana" size="2" color="#000000">Country</font>
</td>
</tr>
</table>
<div style="padding-bottom:8px;color:#000000;"></div>
</td>
</tr>
<tr valign="top">
<td style="" align="">
<font face="Verdana" size="2" color="#000000"><b>Main Category</b></font> <span style="color:red;"><small>*</small></span>
</td>
</tr>
<tr>
<td style=""><select id="element_4" name="element_4" class="validate[required]">
<option value="" selected="selected"> Matrimonial </option>
<option value="Property"> Property </option>
<option value="Recruitment"> Recruitment </option>
<option value="Business"> Business </option>
<option value="Personal"> Personal </option>
<option value="Vehicles"> Vehicles </option>
<option value="Announcement"> Announcement </option>
<option value="Astrology"> Astrology </option>
<option value="Classifieds Rememberance"> Classifieds Rememberance </option>
<option value="Computers"> Computers </option>
<option value="Education"> Education </option>
<option value="Entertainment"> Entertainment </option>
<option value="Marriage Bureau"> Marriage Bureau </option>
<option value="Obituary"> Obituary </option>
<option value="Retail"> Retail </option>
<option value="Services"> Services </option>
<option value="Situation Wanted"> Situation Wanted </option>
<option value="Tenders/Public Notice"> Tenders/Public Notice </option>
<option value="To Rent"> To Rent </option>
<option value="Travel"> Travel </option>
<option value="Wedding Arrangements"> Wedding Arrangements </option>
<option value="Other"> Other </option>
</select> <div style="padding-bottom:8px;color:#000000;"></div>
</td>
</tr>
<tr valign="top">
<td style="" align="">
<font face="Verdana" size="2" color="#000000"><b>Your Ad</b></font> <span style="color:red;"><small>*</small></span>
</td>
</tr>
<tr>
<td style="">
<textarea id="element_5" name="element_5" cols="60" rows="10" class="validate[required]">
</textarea>
<div style="padding-bottom:8px;color:#000000;">
<small><font face="Verdana">Enter your ad here.</font></small>
</div>
</td>
</tr>
<tr valign="top">
<td style="" align="">
<font face="Verdana" size="2" color="#000000"><b>Comments (if Any)</b></font>
</td>
</tr>
<tr>
<td style="">
<textarea id="element_6" name="element_6" cols="45" rows="10" class="validate[optional]">
</textarea>
<div style="padding-bottom:8px;color:#000000;"></div>
</td>
</tr>
<tr>
<td colspan="2">
<table cellpadding="5" cellspacing="0" bgcolor="#E4F8E4" width="100%">
<tr bgcolor="#AAD6AA">
<td colspan="2">
<font color="#FFFFFF" face="Verdana" size="2"><b>Image Verification</b></font>
</td>
</tr>
<tr>
<td style="padding:2px; width:100px;">
<img id="captcha_image" src="http://www.emailmeform.com/builder/captcha/index/3ea1faafcc56a9fae037497e52f55a88" alt="captcha" name="captcha_image" />
</td>
<td valign="top">
<div>
<font color="#000000">Please enter the text from the image</font>:<br />
<input type="text" id="captcha_code" name="captcha_code" maxlength="10" size="10" class="validate[required,funcCall[valid_captcha]]" /> [<a id="captcha_code_refresh" href=
"javascript:void(0);" onclick="document.getElementById('captcha_image').src = 'http://www.emailmeform.com/builder/captcha/index/'+Math.random();get_valid_captcha();return false;"
name="captcha_code_refresh">Refresh Image</a>] [<a id="captcha_code_about" href="javascript:void(0);" onclick=
"window.open('http://www.emailmeform.com/captcha-instruction.html','_blank','width=400, height=500, left=' + (screen.width-450) + ', top=100');return false;" name=
"captcha_code_about">What's This?</a>]
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<input name="element_counts" value="7" type="hidden" /> <input name="embed" value="forms" type="hidden" /><input value="Submit" type="submit" /><input value="Clear" type="reset" />
</td>
</tr>
</table>

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by karthik_ppts
0

Let me get this straight, you want someone to write the action behind this form for you?

0

Let me get this straight, you want someone to write the action behind this form for you?

i just need some assitance php coding is not working an i am very new to this if you can chk the mistake i am doing in below script its not working at all

<?php 
$admin_email = "my email id"; 

if(isset($_POST['submit_msg'])) 
{ 
   if (empty($HTTP_POST_VARS['name_msg'])){ 
      die('<p><p><center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1><i>Error!</i></h1><font color="#ff0000"> <br>caution : please type your name in form</font><br><br><span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); 
   }; 
   if (empty($HTTP_POST_VARS['email_msg'])){ 
      die('<p><p><center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1><i>Error!</i></h1><font color="#ff0000"> <br>caution : please type your email</font><br><br><span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); 
   }; 
   if (empty($HTTP_POST_VARS['msg_body'])){ 
      die('<p><p><center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1><i>Error!</i></h1><font color="#ff0000"> <br>caution : please type your text</font><br><br><span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); 
   }; 

   $name_msg = htmlspecialchars($HTTP_POST_VARS['name_msg']); 
   $name_msg = str_replace("&amp;","&",$name_msg); 
   $name_msg = str_replace("ی","ي",$name_msg); 

   $msg_body = htmlspecialchars($HTTP_POST_VARS['msg_body']); 
   $msg_body = str_replace("&amp;","&",$msg_body); 
   $msg_body = str_replace("ی","ي",$msg_body); 
   $msg_body = nl2br($msg_body); 

      if (!empty($HTTP_POST_VARS['url_msg'])) 
      { 
         $url_msg  = str_replace('http://','',$_POST['url_msg']); 
         $name_msg = "<a target=_blank href=http://".htmlspecialchars($url_msg).">".$name_msg."</a>"; 
      } 

         if(!strpos($_POST['email_msg'],"@")) 
         { 
            print('<p><p><center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1><i>Error!</i></h1><font color="#ff0000"> <br>caution : type your Emali</font><br><br><span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); 
            die('<br><br><center><font face="Tahoma" style="font-size: 9pt">example : [email]info@phpfreecode.Com[/email] </center></font>'); 
         }; 

      $from  = htmlspecialchars($HTTP_POST_VARS['email_msg']); 
      $body = '<html>
<head>
<title>Send comment</title>

</head> 
<body> 
<table border="1" width="100%" text="#000000" style="font-family:tahoma;font-size:8pt;padding:7px;border-style: dashed; border-width: 3px" bgcolor="#D6DFF7" bordercolor="#D6DFF7" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" align="center" bgcolor="#D6DFF7">=&gt; new comment &lt;=</td>
</tr>
<tr>

<td width="15%" bgcolor="#D6DFF7" dir="rtl">Name & Web address</td>
<td width="85%"  bgcolor="#FFFFFF" align="left">'.$name_msg.'</td>
</tr>
<tr>
<td width="15%" bgcolor="#D6DFF7" dir="rtl">Comment</td>
<td width="85%" bgcolor="#FFFFFF" align="left">'.$msg_body.'</td>
</tr>
</table> 
</body> 
</html>'; 
if(!mail($admin_email,'New Contact us',$body,"From: <$from>\n"."MIME-Version: 1.0\n"."Content-type: text/html")) 
{ 
   print('<p><p><center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1><i>The Mail Could not be send!</i></h1><font color="#ff0000"> <br>server is busy .please try later</font><br><br><span style="cursor:hand" ONCLICK="window.history.go(-1);">return to form</span><center></font>'); 
}else 
{ 
   print('<p><p><center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1><i>Thank You!</i></h1><font color="#ff0000"> <br>Your comment has been sent successfully</font><br>Thanks for your comment<br><br><span style="cursor:hand" ONCLICK="window.history.go(-1);"> return to comment  </span>|  <a href="http://www.phpfreecode.com" target="_blank">powered by phpfreecode.com</a><center></font>'); 
} 

}
else 
{ 
?> 
<html dir="ltr">
<head>
<title>Type new comment</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="fa">
<meta name="Geo.Country"        content="IR">
<meta name="Robots"             content="all">
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=1.0)">

</head>
<body>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="513" height="491" id="fa" style="border: 3px dashed #9AABE7" bgcolor="#9AABE7">
<tr>
<td rowspan="5">&nbsp;</td>
<td>&nbsp;</td>
<td height="268" rowspan="5">&nbsp;</td>
</tr>
<tr>
<td style="border-style: dashed; border-width: 3px" bgcolor="#D6DFF7" bordercolor="#D6DFF7">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="fa" height="100%">
<tr>
<td>
<p align="center"><span dir="ltr"><font color="#0000FF">Accept comment</font></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td ><span dir="ltr">.</span></td>
</tr>
<tr>
<td style="border-style: dashed; border-width: 3px;padding-left:5px;padding-left:5px" bgcolor="#FFFFFF" bordercolor="#FFFFFF" dir="rtl" align="left">
<p align="left"><span lang="en-ca" dir="ltr">Add whatever here</span></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top" style="border: 3px dashed #D6DFF7" bgcolor="#D6DFF7"><form name="msg_form" method="POST" > 
<table border="0" width="86%" cellspacing="0" cellpadding="0" id="fa" height="201">
<tr>
<td width="289" dir="rtl" align="left"><span dir="ltr">your name<input name="name_msg" size="33" id="fa" dir="ltr" tabindex="1" maxlength="30" lang="fa" style="float: left" value="" onclick="this.value=''"> 
*: </span> </td></tr><tr>
<td width="289" dir="rtl" align="left"><span dir="ltr">website name<input name="url_msg" size="21" dir="ltr" tabindex="2" maxlength="30" id="fa" style="float: left" value="" onclick="this.value=''"> :
</span> </td></tr>
<tr>
<td width="289" dir="rtl" align="left"><span dir="ltr">your email<input name="email_msg" size="33" dir="ltr" tabindex="3" maxlength="30" id="fa" style="float: left" value="" onclick="this.value=''"> *:
</span> </td></tr>
<tr>
<td width="289" dir="rtl" align="left"><span dir="ltr">your request*:<textarea rows="6" name="msg_body" cols="53" dir="ltr" id="fa" tabindex="4" lang="fa" onclick="this.value=''"></textarea>
</span> </td></tr>
<tr><td>
<span dir="ltr">
<input type="submit" value="Submit" name="submit_msg" tabindex="5" id="fa" style="float: left" ></span></td>
<td width="127">&nbsp;</td></tr>
</table>
</td></form>
<td height="207">&nbsp;</td>
</tr>
<tr>
<td width="60">&nbsp;</td>
<td width="352" align="center"><span lang="en-ca" dir="ltr">
<font color="#FFFFFF">C</font></span><span dir="ltr"><font color="#FFFFFF">opyright © 2008 by </font>
<a href="http://www.xyz.com" target="_blank">
<span style="text-decoration: none"><span lang="en-ca">PHPFreeCode.com</span></span></a><font color="#FFFFFF"> - All Rights Reserved</font></span></td>
<td height="22" width="96">&nbsp;</td>
</tr>
</table>
</div>
<span dir="ltr">
<?php 
}
?> 
</body>
</html>

<br><font face="Tahoma"><a target="_blank" "le="font-size: 8pt; text-decoration: none"></span></a></font>

Edited by mike_2000_17: Fixed formatting

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.