Warning: Undefined variable $campo in /home/delaro6/public_html/rbarrera/productdb.php on line 40

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIKE ? ORDER BY id ASC' at line 2 in /home/delaro6/public_html/rbarrera/productdb.php:42 Stack trace: #0 /home/delaro6/public_html/rbarrera/productdb.php(42): mysqli->prepare('SELECT * FROM p...') #1 /home/delaro6/public_html/rbarrera/products.php(19): include('/home/delaro6/p...') #2 {main} thrown in /home/delaro6/public_html/rbarrera/productdb.php on line 42