Cannot get the data in another page in CI |
I have form and when i submit that data are passed to next page i can see that in url. but i when i get and print that it shows nothing , here i have attached my coding
<form action="addfilters/add"><input type="hidden" name="id" value=<?php echo $filters->id ?> > <input type="submit" value="Add New"></form> my controller <?php class AddFilters extends Admin_Controller { function add(){ echo $this->input->post('id'); } } URL http://localhost/code/index.php/admin/ad...s/add?id=1 but when i print ,it shows nothing , please help me
Thanks and Regards,
Thamaraiselvam T |
Messages In This Thread |
Cannot get the data in another page in CI - by Thamaraiselvam - 01-20-2015, 12:36 AM
RE: Cannot get the data in another page in CI - by scorpioniz - 01-20-2015, 01:35 AM
RE: Cannot get the data in another page in CI - by scorpioniz - 01-20-2015, 01:37 AM
|