I am trying to send a URL from the viewing page to the controller, but I think the way I I'm thinking, it does not seem to work. / P>
View Page
& lt; A href = "& lt ;? php echo base_url () ;? & gt; admin / test / product / tbl_product" & gt; Product & lt; / A & gt; & Lt; A href = "& lt ;? php echo base_url ();? & Gt; administrator / test / user / tbl_user" & gt; Users & lt; / A & gt;
I want to get "tbl_product" Admin Administrator
Uri-> Segment (4); }}? & Gt;
But if the clause (4) has been changed to clause (3), then it appears in the screen with the display of "product"
$ product = 'product', $ tbl = 'tbl_product') {echo $ tbl // contains string tbl_product}
No comments:
Post a Comment