Welcome Guest, Not a member yet? Register   Sign In
Problem with URI passing String Variables with GET…
#1

[eluser]Parker Lewis[/eluser]
Ok. This is my first post... I didn't found out a solution for my problem in google..

As u know, the uri in codeigniter handle class, function and variables in this way:

ww.myblog.it/class/function/variable1/variable2

I have to pass a string that contain blank spaces... so that i have to redirect to this page

ww.myblog.it/class/function/variable with blank spaces/variable2

but it takes only the first word ('variable').

In normal PHP programming if i hade to pass a string variables (with blank spaces) with GET there

was no problem..
I mean that I could write

a href="index.php?variable1=string with blank space inside"> click </a>

and it works...
i mean that
$_GET['variable1'] = string with blank space inside
and not only string

How can i manage this thing in codeigniter ? thanks in anvance...

Hope to being clear...

Federico
#2

[eluser]toopay[/eluser]
Code:
$this->input->get('variable1');




Theme © iAndrew 2016 - Forum software by © MyBB