Question: I was asked to create a simple website for my assignment. I want the html file to run "mobile.css" when I open the site on mobile and run "desktop.css" when I open the site on mobile.

Answer: 
The other answer is correct, you have an error because you misspelled a keyword in your SQL query. But that's not the question you asked.

> 
> I use MySQL, why MariaDB in the error message?
> 
> 
> 

MySQL Server will not mention MariaDB in its error message. MySQL and MariaDB are different products. Therefore if your error message reports MariaDB, then this is evidence that you are using MariaDB Server, not MySQL Server.

The syntax error message is reported by the database server. That's where syntax checking is done. It's possible to use a MySQL client to connect to either a MySQL Server or a MariaDB Server. At least for current versions (MySQL 8.0 and MariaDB 10.6 are current), the client/server protocol is compatible (they may not always be compatible in future versions, since both products are evolving).

Try the query `SELECT VERSION();` to check the version of the database server you are using.
You have a typo in your query.

```sql
select * form category= ?

```

should be

```sql
select * from category= ?

```