close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DA Search unknown column in where clause error

Thread began 10/13/2009 3:33 pm by Dave Buchholz | Last modified 10/13/2009 4:23 pm by Dave Buchholz | 1214 views | 4 replies

Dave BuchholzBeta Tester

DA Search unknown column in where clause error

I have an issue with the following code returning the error Unknown column 'fkTitle' in 'where clause'

Search Parameters

//keyword array declarations
$KeyArr0 = array("view.title");
$KeyArr1 = array("view.image");
$KeyArr2 = array("view.details");
$KeyArr3 = array("fkTitle");
$KeyArr4 = array("view.title");
$KeyArr5 = array("view.details");

//comparison list additions
$WADbSearch1->keywordComparison($KeyArr0,"".((isset($_GET["zoom_query"]))?$_GET["zoom_query"]:"") ."","OR","Includes",",%20","%20","%22","%22",0);
$WADbSearch1->keywordComparison($KeyArr1,"".((isset($_GET["zoom_query"]))?$_GET["zoom_query"]:"") ."","OR","Includes",",%20","%20","%22","%22",0);
$WADbSearch1->keywordComparison($KeyArr2,"".((isset($_GET["zoom_query"]))?$_GET["zoom_query"]:"") ."","OR","Includes",",%20","%20","%22","%22",0);
$WADbSearch1->keywordComparison($KeyArr3,"".((isset($_GET["zoom_query"]))?$_GET["zoom_query"]:"") ."","OR","Includes",",%20","%20","%22","%22",0);
$WADbSearch1->keywordComparison($KeyArr4,"".((isset($_GET["S_title"]))?$_GET["S_title"]:"") ."","AND","Includes",",%20","%20","%22","%22",0);
$WADbSearch1->keywordComparison($KeyArr5,"".((isset($_GET["S_details"]))?$_GET["S_details"]:"") ."","AND","Includes",",%20","%20","%22","%22",0);

SQL Statement

SELECT AS fkid, fk.title AS fkTitle, view.title AS title, view.details AS details, view.image AS image, view.sortorder AS sortorder, view.archive AS archive, view.dateinsert AS dateinsert, view.dateupdate AS dateupdate, FROM_UNIXTIME(view.tstampinsert,'%M %D, %Y') AS tstampinsert, FROM_UNIXTIME(view.tstampupdate,'%M %D, %Y') AS tstampupdate, AS fk, AS id FROM tbl_subcategories AS view JOIN tbl_categories AS fk ON ( = ORDER BY view.sortorder DESC, view.dateinsert DESC, view.title

As you can see fkTitle is clearly defined so what is going wrong ?


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...