hola, estoy teniendo un problema con el codigo "Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in C:\wamp\www\Repuestos\getuser.php on line 24
", la pagina getuser.php tiene el siguiente código   
Código PHP:
Ver original<?php
 
if (!$con)
  {
  }
 
$sql="SELECT * FROM user WHERE SKU = '".$q."'";
 
 
echo "<table border='1'>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
<th>Hometown</th>
<th>Job</th>
</tr>";
 
  {
  echo "<tr>";
  echo "<td>" . $row['id'] . "</td>";
  echo "<td>" . $row['SKU'] . "</td>";
  echo "<td>" . $row['nombre'] . "</td>";
  echo "<td>" . $row['precio'] . "</td>";
  echo "</tr>";
  }
echo "</table>";
 
?>