SQL error in your SQL syntax

Asked

Viewed 65 times

0

I am importing an sql with the following code:

CREATE TABLE blog (
id INT PRIMARY KEY AUTO_INCREMENT,
title VARCHAR(250) NOT NULL,
body TEXT NOT NULL,
url VARCHAR(250) NOT NULL);

But is returning the following error:

Notice in . /import.php#704
Undefined variable: import_text
Backtrace

  • 1

    error has nothing to do with your sql query..

  • The SQL code shown has no error. The error displayed is related to your PHP code.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.