Posted by cover on 01/03/06 00:34
On Mon, 02 Jan 2006 06:18:00 GMT, L?pher Cypher
<lupher.cypher@verizon.net> wrote:
>I think the problem might be that area is an ambiguous name in this
>query (it is in both tables). Try changing it to
>if ($area != "All") $query .= "and (shakers.area='$area' or
>motors.area='$area')";
Maybe this presses the envelope a little bit but if
if ($area != "All") $query .= "and (shakers.area='$area' or
motors.area='$area')";
works well for two tables, why doesn't
if ($area != "All") $query .= "and (shakers.area='$area' or
motors.area='$area' or contacts.area='$area')";
work for three tables? Obviousl syntax error of some kind but...
Navigation:
[Reply to this message]
|