I have a link to a modal
echo anchor('welcome/test/?$userid', 'Full View', 'class="ajax"');
and when my modal opens i retrieve it
$id= $_GET;
reason being is that when you click the "full View" link the modal opens and display different content fetched from my database depending on the id. Codeigniter will not let me pass $userid since $ is a forbidden character. Is there anyway to get round this obstacle without enabling $ in
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
adding $ in the config would open up my application to sql injections right?
So basicly what I wish to achieve is to pass the ID from my view my modal window (that allso is a view)