0 votes
in CodeIgniter by
edited by

What is the default method name in CodeIgniter?

🔗Source: CodeIgniter Interview Questions and Answers

🔗Source: JAVA Interview Questions and Answers

1 Answer

0 votes
by

By default controller always calls index method. If you want to call a different method, then write it in the controller?s file and specify its name while calling the function.

Codeigniter Methods 1

Look at the URL. There is no method name is mentioned. Hence, by default index method is loaded.

...