PHP Classes

waht a missing file of loomes-nestedset

Recommend this page to a friend!

      Loomis` Nested Set  >  All threads  >  waht a missing file of loomes-nestedset  >  (Un) Subscribe thread alerts  
Subject:waht a missing file of loomes-nestedset
Summary:want class.database.php file
Messages:3
Author:sunil kumar
Date:2009-03-24 12:21:05
Update:2009-03-24 14:18:20
 

  1. waht a missing file of loomes-nestedset   Reply   Report abuse  
Picture of sunil kumar sunil kumar - 2009-03-24 12:21:05
Hello,
I really want to use loomes-nestedset class, It will fulfill my requirement, but I face problem due to a missing file, that is "class.database.php".
If you could send me that file then I will be obliged.
you can send me that file on "biswal.sunil@gmail.com"

  2. Re: waht a missing file of loomes-nestedset   Reply   Report abuse  
Picture of Tobias Breunig Tobias Breunig - 2009-03-24 14:16:07 - In reply to message 1 from sunil kumar
Hi,

the File "class.database.php" is my little Helper Class, that i used in all my Projects. I will post ist into the Example Files.

But u can use the NestedSet class without the class.database.php-File. Thats just an example. Just edit this Lines:

----
require 'lib/class.database.php';
require 'lib/class.nestedset.php';

$db = new Database;
----

to:

----
require 'lib/class.nestedset.php';

$db = new mysqli('your host','your user','your pass','your db name');
----

Regards, Tobias

  3. Re: waht a missing file of loomes-nestedset   Reply   Report abuse  
Picture of Tobias Breunig Tobias Breunig - 2009-03-24 14:18:20 - In reply to message 2 from Tobias Breunig
Currently i work on more (or better) examples for using this Class.

If you have any Questions, just ask ;)