Are there any other way of doing this query:
SELECT CONCAT_WS(\" \", strLname, strFname, strMname) AS lessor_name FROM tbl_lessor WHERE lessor = \'$less
In MySQL, you cannot use the alias near WHERE.