alexa-tracking

Main Content

1024
1024
KASKUS
51
244
https://www.kaskus.co.id/thread/52f072c619cb1749168b472a/askdebug-php-and-mysql-errorplease-help
Inspiratif 
{ASK}Debug PHP and Mysql Error,please Help..
Dear Para Masta,
Saya akan sangat berterimakasih sekali apabila para Masta(PHP and Mysql) berkenan untuk berbagi ilmunya untuk bisa membantu mengatasi ke"puyengan" yg sedang ane alami emoticon-Sorry
Debug :
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/xxx/program/xxx/submission_inv.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/submission_inv.php:215) in /home/xxx/submission_inv.php on line 601

Potongan scriptnya seperti di bawah ini :
String 213 -216
(213)$SQL = "SELECT norek FROM setting WHERE setting = 'PERSEDIAAN'";
(214)$hasil = mysql_query($SQL, $id_jing);
(215)$baris = mysql_fetch_array($hasil);
(216)$rekkredit = $baris['norek'];

String (601)
header("location: ".$strurl);

Sekali Lagi Mohon Pencerahaannya ....