Form action is resulting in 404 [Nevermind, Issue Resolved]

Alrighty. Another problem with my dabblings in CI.

Iʻm trying to pass info from a form to a function located in my home.php controller.

Form: (localhost/CodeIgniter/index.php/home/edit/8
<?php echo form_open('home/modify_info');?>

(manual sql query up here)

<?php echo form_hidden('user_id', $this->uri->segment(3));?>

<p> First Name: &lt;input type="text" name="FirstName" value="&lt;? echo $row-&gt;FirstName;?&gt;"/></p>
<p> Last Name: &lt;input type="text" name="LastName" value="&lt;? echo $row-&gt;LastName;?&gt;"/></p>
<p> Email Address: &lt;input type="text" name="Email Address" value="&lt;? echo $row-&gt;Email;?&gt;"></p>
<p> &lt;input type="submit" value="Update Profile"/&gt;</p>


and Controller:
class Home extends Controller   {
        function Home(){

        function index(){
        function edit(){
    function modify_info()
        echo 'this function displays a 404';

and my browsers throws a 404 whenever i visit
http://localhost/CodeIgniter/index.php/home/modify_info and every other one of my functions work fine.

Note: iʻm following the CI screencasts on exactly, except for the changes in form and names on the most recent CI. anyone catch any blatant errors of mine?

[edit]ah... did not reread the resolved bit Smile[/edit]

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.