Nice to meet you my dear friends.
Today I am going to do small work.But is good thing.
In previous lesson we did the config and the set up of the cakePHP.
Now I am going to do simple work in cakephp.
1. Open home.ctp file in C:\xampp\htdocs\learncake\app\View\Pages
Remember that in Cakephp we save view files with the extension .ctp .
2. Clear all the code in home.ctp file and put the below codes in it.
3. here is the code you should put...
<?php
echo("manuja");
?>
4. *Now save it and go to the web browser and type http://localhost/learncake/ you will see the following output.
Today I am going to do small work.But is good thing.
In previous lesson we did the config and the set up of the cakePHP.
Now I am going to do simple work in cakephp.
1. Open home.ctp file in C:\xampp\htdocs\learncake\app\View\Pages
Remember that in Cakephp we save view files with the extension .ctp .
2. Clear all the code in home.ctp file and put the below codes in it.
3. here is the code you should put...
<?php
echo("manuja");
?>
4. *Now save it and go to the web browser and type http://localhost/learncake/ you will see the following output.
*** Think little how it happened.Try to think..
That is enough for today.
-Ujitha Manujapriya Sudasingha-