0
I는 내가 할 때, 어떤 의미포함 GET 노선의 매개 변수 및 프레임 .html 중에서 페이지
을 GET을 통해 데이터를 제출 양식을 가지고 : example.com/Searches/results?search=asdadasdasd
echo $this->Form->create('Search', array('type'=>'get', 'url'=> array('controller'=>'searches','action'=>'results')));
echo '<div class="search-box">';
echo $this->Form->input('search', array(
'class' => 'search-input',
'placeholder' => 'Search Domain Names',
'label'=>false));
echo $this->Form->input('', array(
'class' => 'search-icon',
'label' => false,
'type' => 'submit'
));
echo $this->Form->end();
?>
내가 같은 URL을 얻을
나는 경로를 프레임 할 같은 나는 다음과 같은 URL 얻을 :
example.com/search/asdadasdasd.html
하지만, 어떻게 내부 쿼리를 검색 얻을 것이다 : 나는 어떻게 확장을 가야 http://book.cakephp.org/2.0/en/development/routing.html
:
나는 한 번 봐했다? 이 검색어에 대해 알고하지 않는 형태를 생성 할 때
감사
CakePHP의 자체 불가능
정말 빨랐어 요! 나는 늦었다. 승인! 네, 시도하겠습니다. – Karma