Can Anyone Please Fix This Error?

Discussion in 'Programming' started by bushib, Jun 19, 2008.

  1. #1
    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
     

    Attached Files:

    bushib, Jun 19, 2008 IP
  2. MakeThatDollar

    MakeThatDollar Notable Member

    Messages:
    4,451
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    225
    #2
    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.
     
    MakeThatDollar, Jun 19, 2008 IP
  3. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    I have re-attached the code in the Zip Format.

    Any help will be highly appreciated.

    Regards
    bushib
     

    Attached Files:

    bushib, Jun 19, 2008 IP
  4. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi there,

    I still not got reply?

    Can anyone help me to fix this problem?

    Thanks
    bushib
     
    bushib, Jun 20, 2008 IP
  5. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #5
    Your attachment is corrupted.
     
    it career, Jun 20, 2008 IP
  6. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    bushib, Jun 20, 2008 IP
  7. chaosprime

    chaosprime Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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.
     
    chaosprime, Jun 20, 2008 IP