Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

Noob Question Relating to fRecordSet

posted by agentlocal 8 years ago

I have having trouble retrieving records from the database

have made a connection to the database ... i think ...

//Listings PHP Class
class Members extends fActiveRecord
{
    protected function configure()
    {
    }
}

//Connect To Database
fORMDatabase::attach(new fDatabase('mysql', 'database_name', 'database_user', 'database_password'));

//Category PHP Class
class Category extends fActiveRecord
{
    protected function configure()
    {
    }
}

I am trying to retrieve details from the categories table and then retrieve them. How do I retrieve the details? Trying to use fRecordSet but it's not returning anything?

Can you post the code that is calling fRecordSet::build()?

posted by wbond 8 years ago