PHP error help needed please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acctman
    Confirmed User
    • Oct 2003
    • 2840

    #1

    PHP error help needed please

    hi i'm getting a php error in a script i'm editing

    Parse error: parse error, unexpected '}' in /home/****/public_html/****.php on line 699

    it's saying line 699 but when i open it up in ultraedit line 699 is HTML coding. so the coding lines aren't in the same postion that it's being read on the server.

    any suggestions on how to find that line error? is there a program that can locate potential php line errors in a file that has both html and php coding in it
  • Intrigue
    Confirmed User
    • Feb 2004
    • 662

    #2
    your not gonna find a program that'll tell you exactly what the problem is, you'll have to debug or have an experianced php coder go over it, i could check it out if you want, hit me up: 297994306

    Comment

    • etech
      Confirmed User
      • Feb 2004
      • 1148

      #3
      It's proberbly just one too many of } or one missing

      Comment

      • mikesouth
        Confirmed User
        • Jun 2003
        • 6334

        #4
        what its telling you is it came across a "}" character when it didnt expect one meaning there was not a '{' character anyplace
        Mike South

        It's No wonder I took up drugs and alcohol, it's the only way I could dumb myself down enough to cope with the morons in this biz.

        Comment

        • Scherfi
          Confirmed User
          • Jun 2003
          • 868

          #5
          you probably forgot a ; before this particular line. you should check it.
          http://www.fastthumber.com

          Comment

          • just a punk
            So fuckin' bored
            • Jun 2003
            • 32385

            #6
            Show me your sources please.
            Obey the Cowgod

            Comment

            • ltl
              Registered User
              • Jul 2003
              • 34

              #7
              Ultraedit can fix it. Learn how to use Search->Match Brace (Ctrl-B) unless you have a more modern version of ultraedit then I do

              Comment

              Working...