PHP Classes

metabase

Recommend this page to a friend!

      Metabase  >  All threads  >  metabase  >  (Un) Subscribe thread alerts  
Subject:metabase
Summary:need help to use
Messages:5
Author:psy
Date:2006-11-25 12:45:00
Update:2010-03-25 12:08:17
 

  1. metabase   Reply   Report abuse  
Picture of psy psy - 2006-11-25 12:45:00
hi!
i'd like to try metabase,but i cant get it runnung sucessefull.

i download the latest metabase release, try do like tutorial:

require("metabase_interface.php");
require("metabase_database.php");

$error=MetabaseSetupDatabaseObject(array(

"Type"=>"mysql",
"User"=>"user",
"Password"=>"pass"

), $db);
if($error!="")
{

echo "Database setup error: $error\n";
exit;

}
$db->SetDatabase("web1_db1");


but it dont give me errors and the user/pass is wrong.

i also try the querytabledisplay-2002-08-21 extension and i can get the error and work with, but the pagination dont wrk.

anyone know a tutorial or example file with the normal operations?

thks!

  2. Re: metabase   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-11-25 21:09:46 - In reply to message 1 from psy
The example scripts of the database query table were very old and relied on register globals to be enabled. That is why pagination was not working.

The base table class was also updated to correctly implement row color highlighting when the mouse is over a row, and support configuration of presentation styles via CSS.

Both classes were updated on the site. Please download the new versions.

  3. Re: metabase   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-11-25 21:11:25 - In reply to message 1 from psy
As for Metabase not giving you errors, that will only happen when you execute the first query because Metabase only establishes database connections on demand.

  4. Re: metabase   Reply   Report abuse  
Picture of fernando simoes fernando simoes - 2008-02-12 10:41:07 - In reply to message 2 from Manuel Lemos
sdfsd

  5. connect to access DB using metabase...   Reply   Report abuse  
Picture of swamyvnvs swamyvnvs - 2010-03-25 12:08:17 - In reply to message 2 from Manuel Lemos
Hi ,

I need to connect to access DB using metabase in linux.

Can anyone give the sample code how to do that.

Also I need to know how integrate this metabase into my application.


Thanks&Regards