Hi, I wanted to copy a site because of its good optimization. My designer copied the site and edited quite a lot of things to look like a new design. There are some problems which he is working on. The website we copied is http://firstclasspainting .com/ I like to have help in how to make the contact.htm (contact form) working and feedback.htm (comments section). The coding I used for contact form is <?php if(($_POST['email'] == '') || ($_POST['name'] == '') || ($_POST['comments'] == '')) { echo 'Incorrect<br> Press <a href="index.html">here</a> to back'; } else { $catre = 'adnanqaizar@gmail.com'; $data_trimitere = date('d-m-Y H:i:s'); $mesaj = ' <html> <head> </head> <body> <p><tt>Date: '.$data_trimitere.' </tt></p> <table> <tr> <td><tt> Customer service: '.$_POST['customerservice'].' </tt></td> </tr> <td><tt> Technical support: '.$_POST['technicalsupport'].' </tt></td> </tr> <td><tt> Billing question: '.$_POST['billingquestion'].' </tt></td> </tr> <td><tt> Other: '.$_POST['other'].' </tt></td> </tr> <td><tt> First name: '.$_POST['firstname'].' </tt></td> </tr> <tr> <td><tt> Last name: '.$_POST['lastname'].' </tt></td> </tr> <td><tt> Fax number: '.$_POST['faxnumber'].' </tt></td> </tr> <td><tt> Telephone: '.$_POST['telephone'].' </tt></td> </tr> <tr> <td><tt> E-Mail: <a href="mailto:'.$_POST['email'].'">'.$_POST['email'].'</a> </tt></td> </tr> <td><tt> Order or Receipt Number: '.$_POST['ordernumber'].' </tt></td> </tr> <tr> <td><tt> Comments: <br><br> '.$_POST['comments'].' </tt></td> </tr> </table> </body> </html>'; $headere = "MIME-Version: 1.0\r\n"; $headere .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headere .= "From: ".$_POST['name']." ".$_POST['lastname']."<".$_POST['email'].">\r\n"; mail($catre, $mesaj,); echo 'Message was send. <p style="color:#00CCCC; font-size:8"> </p> '; } ?> PHP: As for comments section, add your comments is not working. Which language is used for adding comments script. Hope for experts help!
Can you explain what do you mean by 'which language'? If you mean, which programming language, then you can implement comment code using PHP too.
Yes, by which language, I do mean which programming language. I can implement it using PHP, but which language they are using? Moreover, if I implement it using PHP, I don't have much knowledge of PHP and will it create any problems? What do you think about why contact form isn't working? Thank-you