- Edited
I'm following this tutorial: https://www.webslesson.info/2018/08/how-to-make-product-filter-in-php-using-ajax.html
But my problem is that everything is written for PDO, but the my website is MySQLi. I've been trying to just search for conversions on www.php.net (for example; $statement = $db->prepare($query); = $statement = $db->mysqli_prepare($query) (https://www.php.net/manual/en/mysqli.prepare.php)) but it doesn't seem to do anything. Am I doing something wrong? What is the best way to go about this? Thanks in advance for your time and help.