PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Earn an MBA degree
Advance your career with an MBA Only $325 per credit hour  | From our sponsors | | |
[ASK] langsung saja. Warning: Cannot modify header... Nov 11th 2013, 10:54, by Alfan Zain | [ASK] langsung saja. Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\WebsiteSaya\index.php:126) in C:\xampp\htdocs\WebsiteSaya\conf\lib.php on line 9
dengan code php 'biang keroknya'
<?php $qlist_k=mq("select * from kategori order by nama_kategori asc"); while($wlist_k=mfa($qlist_k)){ ?> <li><a href="$wlist_k[1]"></a></li> <?php } ?>
disaat saya hilangkan hrefnya, pesan warning tersebut hilang. codenya jadi begini ..
<?php $qlist_k=mq("select * from kategori order by nama_kategori asc"); while($wlist_k=mfa($qlist_k)){ ?> <li><a></a></li> <?php } ?>
Mohon bantuannya |
| | mq adalah function mysql_query. mfa adalah function mysql_fetch_array. |
| | ?> <li><a href="$wlist_k[1]"></a></li> <?php
ini variable $wlist_k[1] kok ga didalem <?php ?> bisa? |
| | pesan error seperti ini sudah sering dibahas. Coba letakkan script ini di paling atas index.php kamu <?php ob_start(); ?> | | |
|
Tidak ada komentar:
Posting Komentar