Categories > TinyButStrong general >

How to limit block parsing

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Youri
Date: 2005-05-13
Time: 10:13

How to limit block parsing

Hi, first of all thank you very much for TBS. My question: Is it or could it be in future versions somehow possible to limit output in block parsing? Example: I have a MySQL result in an array for all records that comply with MySQL query. I use this result in one block. Then I need to parse a part of this result (like first 5 records) in different block. Can I do that without another similar query to db? Please post an example. Thanx!
By: Youri
Date: 2005-05-13
Time: 11:09

Re: How to limit block parsing

Well, solution is page mode:

$TBS->MergeBlock('blk',$sourcearray,'',$NumberOfDisplayedRecords,1,0) ;