Results 1 to 4 of 4

Thread: Unexpected T_VARIABLE
      
   

  1. #1
    abcdme is offline Sergeant
    Join Date
    Mar 2006
    Posts
    33

    Default 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

  2. #2
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default 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!

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  4. #4
    abcdme is offline Sergeant
    Join Date
    Mar 2006
    Posts
    33

    Default 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49