How to enable query string in codeigniter


How to enable query string in codeigniter

If you want to use query string like this :

index.php?page_no=10&id=12&ref=home_page

Go to application/config.php

change

$config[‘enable_query_strings’] = FALSE;

to

$config[‘enable_query_strings’] = TRUE;

Now you can use query strings in codeigniter controllers.
can use this How to enable query string in codeigniter.


Advertisements

Add Comment

📖 Read More