I have this error when I run my system in XAMPP but it works succ on WAMP..
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xxx\xxx.php on line 29
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xxx\xxx.php on line 38
My coding:
7 $query = "SELECT * FROM projek2 WHERE KOD_CTPRO='$KodPro'";
8 $result=mysql_query($query);
9
10while($row = mysql_fetch_array($result))
11{
12$NoRekod=$row;
13 $KodProjek=$row;
14 }
what thats mean on that? i really dun know.. :(