W
W
wanderbit2016-07-06 10:14:01
CakePHP
wanderbit, 2016-07-06 10:14:01

How to implement search by phone number in CakePHP?

How to implement search by phone number in CakePHP?
There is a form when you type in the search box http:// site/cp/cp/orders/index?phone=

echo $form->create($dataModel, array('action' => 'index', 'type' => 'GET'));
        echo '<label>' . __('Поиск по номеру телефона ', true) . '</label><br/>';
        echo $form->input('phone',  array(
          'label' => '',
          'type'  => 'text', 
          'style' => 'width:150px;',
        
        ));
        
        echo $form->submit(__('Search', true));

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question