SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem in Structures_DataGrid

    please help me to sole this problem
    am new in php, i am using pear DB table for my php project, it is very useful for me to make database related projects.

    Now i have a problem while using PEAR dataGrid, i try to make similary in this tutorial "http://www.samalyse.com/code/pear/dgdo/" like
    <?php
    require_once("../includes/config.php");
    require_once("../includes/dbConnect.php");
    require_once("../class/admin.php");
    require_once("../class/menu.php");
    require_once("../class/pager.php");
    require_once("Structures/DataGrid.php");
    require_once("DB/DataObject.php");

    class DataObject_Fruits extends DB_DataObject
    {
    var $__table = "tbl_admin";
    var $menu_id;
    var $menu_name;
    var $parent_id;
    var $menu_level;
    }

    $dataobject = new DataObject_Fruits();
    print_r($dataobject);
    $datagrid =& new Structures_DataGrid(10);
    $datagrid->bind($dataobject);
    print_r($datagrid->render());
    ?>

    but this program display an error like
    "Unknown Renderer driver. Please specify an existing driver", i didnt know the problem, please help me to sole this one.

  2. #2
    SitePoint Member
    Join Date
    Apr 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my OS is XP, plz any one help me to solve this problem

    thanks
    Last edited by satheeshgk; Aug 2, 2007 at 21:41.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •