Hi there, I have a contact us form on this page http://www.aycommunication.com/form.php but its not working. When the form.php page opens up it generates the following error "Parse error: syntax error, unexpected T_STRING in /home/aycdirec/public_html/aycommunication/form.php on line 1" I have attached the code of the contact us form. Can anyone please fix this problem.? I will be very thankful Regards bushib
All the code has is information on a database error on Digital Point? Is that right? If not, there was an error with you uploading it.
Hi, I have re-attached the code in the Zip Format. Any help will be highly appreciated. Regards bushib
Hi there, The code can be viewed below. Design: http://www.aycommunication.com/contact-us.html (When I change the extenstion from .php to .html it does not work and gives the above mentioned error) Code: http://www.aycommunication.com/phpcode.html I will be really thankful for any help. Regards bushib
Your <?xml tag is confusing PHP because the PHP short_tags option (which lets you open PHP with only <? rather than <?php) is enabled on your server. Replace the first line of form.php with <?php echo '<?xml version="1.0" encoding="utf-8"?>' ?> and you should be okay.