Okay. That fixed pretty much everything. Except the actual script. I go in to install the table in the database and it won’t let me. I click install and the page refreshes, but nothing happens. I went into my database and the table wasn’t there. I tried putting the MYSQL commands into the database, but I got the following message:
Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unclosed quote @ 313
STR: ‘
SQL: CREATE TABLE ‘wp_people’ (
people_ID
INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
user_ID
bigint(20) NOT NULL,
people_name
VARCHAR(160) NOT NULL,
people_nickname
VARCHAR(100) NOT NULL,
people_bio
TEXT NOT NULL,
people_url
VARCHAR(255),
people_image_url
VARCHAR(255),
people_image_title_nm
VARCHAR(160)’);
SQL-query :
CREATE TABLE ‘wp_people’ ( people_ID
INT NOT NULL AUTO_INCREMENT PRIMARY KEY, user_ID
bigint(20) NOT NULL, people_name
VARCHAR(160) NOT NULL, people_nickname
VARCHAR(100) NOT NULL, people_bio
TEXT NOT NULL, people_url
VARCHAR(255), people_image_url
VARCHAR(255), people_image_title_nm
VARCHAR(160)’);
MySQL said:
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 ”wp_people’ (
people_ID
INT NOT NULL AUTO_INCREMENT PRIMARY K
Strange, huh?