
Trent Collie - 2007-01-08 16:44:14
I'm using TbsSql 1.01 (or 1.1??) and TBS v. 3.2 and I'm having problems outputting data to my template. Here is my php code:
//Stats.php
include('tbssql_mysql.php');
include('tbs_class.php');
$TBS = new clsTinyButStrong ;
$TBS->LoadTemplate('stats.html') ;
$TBS->MergeBlock('users','tbssql','SELECT * FROM users where id = 1');
$TBS->Show() ;
When I run stats.php, I get the following error:
TinyButStrong Error when merging block [users] : Data source Id 'tbssql' is unsupported because function 'tbsdb_tbssql_open' is not found.