I have a code like this, this is the line 16:
$query=mysql_query("select harga from pakaian where 'kodeb'=$kode") or die($query. "<br/><br/>".mysql_error());
$harga=mysql_fetch_row($query);
and when i run it, it showed:
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\project\orderphp.php on line 16
What's wrong with it? I don't understand