Reports in PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rendanime
    New Member
    • Jun 2007
    • 12

    Reports in PHP

    I need your help, i have designed a system using PHP. Now i want to create a report for projects. Currently the system can genarate report for all available project ( i manage to do this because is easy - just take everything in the table). What i want to do is to make a report for one project. I placed a print button in a project grid - when a user click that button, i want the system to automatically pick up the projectId for that current project.
    What i want is somthing like this: When you want the name of current user, you can do it like this:
    $filter_list['user_id'] = $this->session->userdata('user id');

    So now i have things like this:
    $project_detail s = $this->projectmodel->retrieve_by_pk ey($idField);
    How do i pick up $idField automatically?? ??

    Will appriceate your help
Working...