在php codeigniter中断的接口 [英] Broken interface in php codeigniter
问题描述
我的介面有问题。我使用codeigniter分页与这一个。所有数据都正确读取并以分页方式返回。分页也很好。主要的问题是如果我去分页的下一页,UI被打破,但数据仍然存在。我不知道如何解决这个,我还是新的codeigniter。请使用首页
帮助
I've got a problem on my interface. I'm using codeigniter pagination with this one. All data are fetched correctly and returned in a paginated way. Pagination is good also. The main problem is if i go the next page of the pagination, the UI is broken but data are still there. I don't know how to fix this, I'm still new to codeigniter. please help
链接正确显示UI和分页内容,但当链接变为 home / index / 15
或点击下一页的结果,UI被破坏。我也检查了页面源,仍然它的好。我使用<?php echo base_url();?> assets /
链接我的css和js以及其他资源。
link using home
correctly displays the UI and the paginated contents but When link goes home/index/15
or clicking for the next page results, UI is broken. I've also checked the page source and still its okay. I'm using <?php echo base_url();?>assets/
to link through my css and js and other assets.
推荐答案
如果您真的添加了代码,请再次查看:
Take a look again on your code if you've really added:
<?php echo base_url();?> assets /
假设您的数据正确显示。该页面上可能有一些您尚未更改的链接。这就是为什么您的用户界面被破坏的原因。
Assuming your data is correctly displayed. There might be some links on that page which you haven't changed. That's why your user interface gets broken.
这篇关于在php codeigniter中断的接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!