Welcome Guest, Not a member yet? Register   Sign In
Problems with $_GET parameters
#1

[eluser]ssloxing[/eluser]
Hey guys !

I'm trying to create a search script but I can't echo out the search query with the $_GET['search'] method I've even tried with $this->input->get('search'); & $this->input->get_post('search');

What's the problem please need help Smile !!


/ssloxing
#2

[eluser]Twisted1919[/eluser]
You need to enable query strings so you can access $_GET array .
See config.php .
#3

[eluser]ssloxing[/eluser]
[quote author="Twisted1919" date="1271531493"]You need to enable query strings so you can access $_GET array .
See config.php .[/quote]


So you mean like this:

From:

Code:
$config['enable_query_strings'] = FALSE;

To:

Code:
$config['enable_query_strings'] = TRUE;
? that ain't working for me either Sad
#4

[eluser]Twisted1919[/eluser]
maybe you can post more code from your controller .
Anyway , why you need $_GET when you can achieve this via uri segments ?




Theme © iAndrew 2016 - Forum software by © MyBB