php-router icon indicating copy to clipboard operation
php-router copied to clipboard

How to views file

Open AlifJamain opened this issue 4 years ago • 6 comments

Hi, How to view the file.php or etc.php?

AlifJamain avatar Oct 08 '21 08:10 AlifJamain

Hi, Sorry, I couldn't understand your question? Please explain your problam detailed?

izniburak avatar Oct 08 '21 09:10 izniburak

i want to view the index.php file in views directory using controllers

AlifJamain avatar Oct 08 '21 09:10 AlifJamain

If I'm right, do you want to render the index.php file contents on the view with controllers?

peter279k avatar Oct 08 '21 12:10 peter279k

yes... that's it. how to do it? plus how to make models and call models in the controller function?

AlifJamain avatar Oct 08 '21 13:10 AlifJamain

1 2 3 4 5

Please help me sir. What is the problem?

AlifJamain avatar Oct 09 '21 13:10 AlifJamain

Are you sure that your files are autoloaded correctly?

izniburak avatar Oct 09 '21 20:10 izniburak