I'm making a form to search my application for users with their name or email. Specifically, I am trying to make a search engine, but I don't know how to send two parameters from my form to my controller in cakephp3.
// In my controller
$keyword =$this->request->query('keyword' );
$users = $this->Users->findAllByFirst_nameOrEmail($keyword);
// In my form
<?= $this->Form->create("",['type'=>'get']) ?>
<?= $this->Form->control('keyword'); ?>
<button>Search</button>
<?= $this->Form->end() ?>