Categories > TinyButStrong general >

Help $ TBS-> MergeBlock

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Ronei
Date: 2009-06-22
Time: 19:47

Help $ TBS-> MergeBlock

   
Good afternoon colleagues, I need to know how to manipulate data $ TBS-> MergeBlock within PHP, as in the HTML I use [var.] Do more as a test in PHP using ods data returned in $ TBS-> MergeBlock eg
$ TBS-> MergeBlock ( 'blk_ger_sf101', $ conn, $ iu_ger_sf101);)

the data returned in $ TBS-> MergeBlock above and get to select the fields that Farza an IF in PHP for example.

now you
By: Skrol29
Date: 2009-06-23
Time: 13:10

Re: Help $ TBS-> MergeBlock

Hi Ronei,

Can you give more precisions, I'm not sure to understand the problem.
By: Ronei
Date: 2009-06-23
Time: 13:34

Re: Help $ TBS-> MergeBlock

   
Okay, the block of data from the TBS is used in HTML through the [var.] I want to use these data from the TBS within the PHP, to make checks in another post someone suggested using array, more was not clear you can help me?
By: Skrol29
Date: 2009-06-23
Time: 13:39

Re: Help $ TBS-> MergeBlock

Ok,

Use the '*' to ask MergeBlock() to return the data.
Example:
$data = $TBS->MergeBlock('blk_ger_sf101,*', $conn, $iu_ger_sf101);

This is a strange trick but it is documented.
By: Ronei
Date: 2009-06-23
Time: 14:04

Re: Help $ TBS-> MergeBlock

   
Good tip, I need another hint, as I will use this data stored in the array $ data, for example in the IF or to an echo to print the screen only to see the data? Now thank you for your attention are the beast ...