drcmue4619 2015-04-08 04:07
浏览 45
已采纳

php 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

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.

  • 写回答

3条回答 默认 最新

  • dongwen7283 2015-04-25 23:01
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?