Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !
From: ian justice (i.justice_at_onmail.co.uk)
Date: 11/01/03
- Next message: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Previous message: Useko Netsumi: "Re: db admin utilities"
- In reply to: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Next in thread: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Reply: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 1 Nov 2003 13:56:12 -0800
"Tom Thackrey" <use.signature@nospam.com> wrote in message news:<FWHob.11451$OS5.8313@newssvr14.news.prodigy.com>...
> What error message did you get when you executed the query?
> Are you sure there are records in the table that match your pattern?
> If the syntax is correct, then the problem is probably with the table or
> column names. Are you using reserved words for either of these? Do they
> exist?
The error message was "could not execute query". This is my own error
message as in
$rs=mysql_query($sql, $conn) or die ("could not execute query");
The records do exist i deliberately used simple one-word requests as
well. I also
checked i got the same error message by typing in a load of random
letters in the
text field.
The table is called 'music' and the columns are headed 'song' 'folder'
format' 'artist'.
Whether it's relevant to solving the puzzle, i don't know. But, i
stress again that i am
successfully connected to mysql and the database. As, it does
correctly sort and display
the result by the chosen 'order by' command, be it song, folder,
format or artist.
- Next message: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Previous message: Useko Netsumi: "Re: db admin utilities"
- In reply to: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Next in thread: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Reply: Tom Thackrey: "Re: "Select" & "Order By" OK- ''WHERE'' Does'nt Work !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|