By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

Reports in PHP

P: 12
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('userid');

So now i have things like this:
$project_details = $this->projectmodel->retrieve_by_pkey($idField);
How do i pick up $idField automatically????

Will appriceate your help
Jul 19 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.