Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Double signup in url when submitting form #123

Open
@Zhaniya110

Description

Hi!, I tried addding special controllers for sign up but it did not help. As the result I get a url that looks like that:
http://localhost/signup/signup/create
While using the dunamic one
$router->add('{controller}/{action}');
I still get the same error:


Fatal error
Uncaught exception: 'Exception'
Message: 'No route matched.'
Stack trace:
#0 C:\Users\zmeyr\Desktop\php-mvc\public\index.php(36): Core\Router->dispatch('signup/signup/c...')
#1 {main}
Thrown in 'C:\Users\zmeyr\Desktop\php-mvc\Core\Router.php' on line 130

I am not sure why it will not submit data to the database
Sincerely, Zhaniya

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /