in reply to Re: Passing a value into a WHERE clause
in thread Passing a value into a WHERE clause

Unfortunately I have tried this approach to no avail. I have tried it with almost every variation of syntax I can think of. It seems that no matter what I do, if I put a string ($field) in the first part of the WHERE clause it returns 'unknown column' even though it's defined before the DBMS sees the query.
  • Comment on Re: Re: Passing a value into a WHERE clause