I'm creating an SQL table using PHP but I'm getting an error and I don't know why. This is the code
CREATE TABLE posts
(
    P_Id int NOT NULL AUTO_INCREMENT,
    Title VARCHAR(200),
    Post VARCHAR(MAX),
    PRIMARY KEY (P_Id)
)
The error that I'm getting is
Error creating table: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX), PRIMARY KEY (P_Id)' at line 5
 
     
     
     
     
    