Unexpected T_VARIABLE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • abcdme
    Sergeant

    • Mar 2006
    • 33

    Unexpected T_VARIABLE

    Hi there,

    I have been using a script that Naval provided to me a long time ago and modifying it as I go along for each of my different forms.

    I am running this script on http://hbrc.dwat.co.nz/public_html/p...on/contact.php
    the location of the file in the server is:
    /home/dwatwor/public_html/hbrc/public_html/phpvalidation/contact.php

    For some reason although the other forms work this one never does. I get the error:
    Parse error: syntax error, unexpected T_VARIABLE in /home/dwatwor/public_html/hbrc/public_html/phpvalidation/contact.php on line 35

    All of the forms that I have put in this directory don't seem to work while others in other folders of my site do. Is this because of its location or have I just managed to mess up the php code?

    Thanks for your time.
    Dan
    Tyres and Romantic Books
  • Andy128
    Major General

    • Dec 2005
    • 2317

    #2
    Re: Unexpected T_VARIABLE

    Could you please provide the php code (copy and paste it here) so that we may take a look.

    Also- did you modify this script and if so- what did you modify.

    Andy
    PHP- is a blast!

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: Unexpected T_VARIABLE

      You have probably forgotten a ";" in line 34
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      • abcdme
        Sergeant

        • Mar 2006
        • 33

        #4
        Re: Unexpected T_VARIABLE

        cheers I decided I would just start again using one of my working scripts :D thanks for the input you two
        Tyres and Romantic Books

        Comment

        Working...
        X