Welcome Guest, Not a member yet? Register   Sign In
Accessing $_GET data
#1

[eluser]deco10[/eluser]
I'm getting a return from a webservice that returns the data in a query string. I'm trying to do a print_r on the $_GET variable, but all it prints is array ([Home] ). Home is the name of my controller.

How can I get CI to give me the proper values in $_GET? I also have my system configured to produce clean urls. (ie www.....com/home/service/all)

Thanks!
#2

[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui.../urls.html

See "Enabling Query Strings"
#3

[eluser]deco10[/eluser]
I did that, no change.
For example. this is what it returns to me if I print the $_GET array
url: http://ellislab.com/forums/newreply/1463...wpost=true

print_r($_GET): Array ( [/forums/newreply/146346] => )

So what happened to viewpost=true ?




Theme © iAndrew 2016 - Forum software by © MyBB