Welcome Guest, Not a member yet? Register   Sign In
Consistent 404 after initial success
#9

[eluser]Wittner[/eluser]
hmmm, thanks xwero.

Quote:...aren’t needed if you are not going to add something to the constructor

So was the code sample I first posted here syntactically correct?

Code:
<?php
class Names extends Controller{
    function index()
    {
        echo "Hello World";
    }
}

?>

All I did there was add an index() function. I wasn't adding any new construction. (by the way, I'm aware that echoing from the controller is bad practice, it's just for the test)

cheers,

Wittner


Messages In This Thread
Consistent 404 after initial success - by El Forum - 06-16-2008, 09:50 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 10:13 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 10:30 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 04:44 PM
Consistent 404 after initial success - by El Forum - 06-16-2008, 07:31 PM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:00 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:03 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:14 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:46 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 04:07 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB