Code igniter how to pass data from view to controller

Hello

I have this in my view:

<input type="text" name = score value="1">

Trying to get the data in the controller:

$score = $this->input->get('score',false);

Doing var_dump($score) returns NULL

How can I pass data from the view to the controller?
Thanks

For some reason now it works…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.