Hello! I have a sql query of the form:
SELECT * FROM `categories` WHERE `id` = '".str_clean($_GET['id'])."'"
I need to pull out with the help of a single query all categories from the table, and one category whose id matches str_clean ($ _ GET ['id'])
Ie should get something like:
SELECT * FROM `categories` && SELECT * FROM `categories` WHERE `id` = '".str_clean($_GET['id'])'"