Welcome Guest, Not a member yet? Register   Sign In
Passing GET value show error
#6

(This post was last modified: 10-01-2017, 08:49 AM by PaulD.)

That seems a fair approach but you could use site_url instead, just a bit cleaner.

PHP Code:
<a href='<?php echo site_url('documentazione/crea_documentazione_seconda/'.$row->id); ?>' class='btn btn-primary btn-xs'

If pressing that button is causing the missing argument, then just take a look at the html generated for the button and check the id is being found and is populated as you expected.

Other than that I cannot debug your code, sorry.

Paul

PS Looking at your first post again, when you load a view file you are just loading a file, and sending it some data. You are not loading a controller into the view.
PHP Code:
$this->load->view('my_view_file'$page_data); 
If you use a variable in the view file name, you have to be careful that the file actually exists before you load it using file_exists.
Reply


Messages In This Thread
Passing GET value show error - by pippuccio76 - 09-26-2017, 09:00 AM
RE: Passing GET value show error - by PaulD - 09-26-2017, 11:19 AM
RE: Passing GET value show error - by pippuccio76 - 10-01-2017, 03:37 AM
RE: Passing GET value show error - by PaulD - 10-01-2017, 08:14 AM
RE: Passing GET value show error - by pippuccio76 - 10-01-2017, 08:32 AM
RE: Passing GET value show error - by PaulD - 10-01-2017, 08:46 AM
RE: Passing GET value show error - by pippuccio76 - 10-01-2017, 08:51 AM
RE: Passing GET value show error - by PaulD - 10-01-2017, 08:57 AM
RE: Passing GET value show error - by pippuccio76 - 10-01-2017, 09:03 AM
RE: Passing GET value show error - by Paradinight - 10-01-2017, 09:21 AM
RE: Passing GET value show error - by pippuccio76 - 10-01-2017, 09:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB