Answer the question
In order to leave comments, you need to log in
How to create an ENUM column using sqlite in php?
The problem is that due to the type of the status field, an error occurs:
$query_table = sqlite_query($db, "CREATE TABLE tbl_post (
title char(200) ,
content LONGTEXT ,
status ENUM('1','2','3'),
tags char(200) );
");
if (!$query_table) exit("Невозможно создать таблицу в базе данных!");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question