Can't connect because Unknown column 'XXX' in "where clause'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #16
    When you get an error code, the full error message tells you what line the error is on.

    Comment

    • sohomoto3
      New Member
      • Sep 2013
      • 13

      #17
      it does not. It states what I wrote in the beginning "Can't connect because Unknown column 'Seminole' in "where clause'"

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #18
        From the PHP manual:
        The PHP errors which are normally returned can be quite helpful to a developer who is trying to debug a script, indicating such things as the function or file that failed, the PHP file it failed in, and the line number which the failure occurred in.
        If you are not seeing it, then you are either looking in the wrong place or you have it turned off.

        Comment

        • Rabbit
          Recognized Expert MVP
          • Jan 2007
          • 12517

          #19
          From the little information I have, it looks like the error is probably in your dropdown function. But you haven't posted that code so I can't be sure.

          Comment

          • sohomoto3
            New Member
            • Sep 2013
            • 13

            #20
            isn't that line 18 on post 11?

            Comment

            • sohomoto3
              New Member
              • Sep 2013
              • 13

              #21
              // Generating the group drop down menu
              19. echo "<select onChange='reloa d(this.form)' name='Group'>";

              Comment

              • Rabbit
                Recognized Expert MVP
                • Jan 2007
                • 12517

                #22
                Post 11, line 18 is the getGroupIndex function. Not the dropdown function.

                I don't know why you copied and pasted that line of code in post #21. That has nothing to do with the dropdown function.

                Comment

                Working...