$ 0 0 QUOTE (The CEO @ August 13, 2013 10:21 pm) I would use:SQL $_sql = $_sql + " FROM cachesall WHERE $_Where AND cachetype='$Type' " Thanks Seems to work. Just thought I had to use the ||, but seems not.