[TYPO3] access query results in plugin / extension...

Andrew Davis andrew at theandrewunderground.com
Sat Feb 3 23:37:22 CET 2007


hi

i cant seem to find the php for the pi base classes
( pi_exec_query() , etc. ).

I am making an extension using the kicksarter, which is great, but i 
want to make my own class in the pi_ class, instead of using listview() 
since it wraps the result in <table> since it thinks it wil be a table 
(duh).

so i can do

$res = $this->pi_exec_query('tx_avgffeatcontent_items');

but $res only conains a string "Resource id #128"... i am wondering how 
to directly access the query result that should be $res?




i am planning on looking at that listview() in the pi_classes but i cant 
find that php file...

any assistance much appreciated.
Andrew Davis


More information about the TYPO3-english mailing list