Cakephp3-form methods GET and POST

to set the method your form is send in cakephp3 as GET;

to get the Data sent via get in controller;



Forms in cakephp3:

Cakephp3-Creating custom queries

23666In your object table;

In your controller method;

So what does it do?
It will return the results where the artist field is like eg.”U2″ and where the title is like “U2”.
It also has an order clause in there and will contain the related records set “mp3files”.


Cakephp3: sending json response message to view



//controller action


Sample AJAX Call and Response

23666This is just a quick example of how to send a reply from your controller to n AJAX request.

//you controller

//javascript function

A link to call the function;