basically, I have a cookie with the category slug stored, using this data I want to query the database and return the ID of the category.
I am new to mysql and this seems like an advanced query that may need to use joins, any help or guidance would be much appreciated.
Thank you!
Learn about SQL joins.