php - Yii2: Change page without reloading the page

<?php Pjax::begin(); ?>
                                    foreach($data as $row)
                                            echo 'company_name: ' . $row['company_name'] . ' client_code: ' . $row['client_code'] . '<br>';
                        <?= LinkPager::widget(['pagination' => $pagination]) ?>
                <?php Pjax::end(); ?>

Trying to change page without reloading the page, tried with Pjax but page still reloads. How to achieve this without page refresh?

People are also looking for solutions to the problem: mysql - Can i include another php script to continue the for loop execution to prevent server timeout due max_execution_time


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.