By default, which method is called in a CodeIgniter controller if no method is specified in the URL?

  • index()
  • default()
  • main()
  • primary()
In CodeIgniter, if no method is specified in the URL, the default method called is "index()". It serves as the default action when no specific method is requested. The other options are not the default method names.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *