|  | 
 
| 为什么加了样式就不对了。。。。。????? <html>
 <head>
 <link rel="stylesheet" href="<?php echo base_url().'image/style.css';?>" type="text/css">
 </head>
 <body>
 <center>测试论坛</center>
 <a href=<?php echo site_url('luntan/fatie')?>>发表新帖</a><p><p>
 <?php
 foreach($dat as $item)
 {
 $id= $item->id;
 echo anchor("luntan/xiangxi/$id",$item->title)."<p>";
 }
 ?>
 </body>
 </html>
 
 只要加上样式,就不显示新添加的数据库的信息,,反之拿掉样式就ko,,不知为啥??不管是样式加在这里或是调用,都不行,,拿掉样式就行了。。不知原因。。
 | 
 |