Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\techponya\index.php on line x
<?php
$sql2 = "SELECT * FROM artikel WHERE kategori='technews' DESC() LIMIT 5";
$hasil2 = mysql_query($sql2,$dbconn);
while ($techponya = mysql_fetch_array($hasil2)){
?>
mysql_*functions ? Because you should consider using latest secure mysql driver such asPDOorMySQLi.mysql_query()and scroll down the do not use this extension warning to "Example #1". There's a simple usage example.