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:
$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?? ?? $idField =??????
Will appriceate your help
What i want is somthing like this: When you want the name of current user, you can do it like this:
$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?? ?? $idField =??????
Will appriceate your help
Comment