Jo Schneider wrote: >Hello List, > >is there a way to see / debug the sql-statement of pi_exec_query()? > > One way is to add an invalid $addWhere: $addWhere = 'x'; $this->pi_exec_query($this->internal['currentTable'],0,$addWhere); Any more gentle method?