Share » Forums » Developer » Where's my result?

Where's my result?

Where's my result?

Sunday 14 August 2005 10:53:18 am - 1 reply

Author Message

Gabriel R.

Sunday 14 August 2005 11:39:58 am

use the template 'setVariable' function:

php extension code

...

$db =& eZDB::instance();
   $wynik =& $db->arrayQuery( 'SELECT * FROM firma WHERE id<2',
                            array( 'offset' => 0, 'limit' => 10 ) );

$tpl->setVariable( 'wynik', $wynik );

template example

my result: {$wynik|attribute(show)}

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu