/    Sign up×
Community /Pin to ProfileBookmark

im not sure if this is the place to post it or not, if this is the wrong forum i apologize ahead of time.

I’m not that great with MySQL Syntax, so if anyone can explain how to fix this error, it’d be much appreciated.

[CODE]
CREATE TABLE phpbb_privmsgs_text(
privmsgs_text_id mediumint(8) unsigned NOT NULL,
privmsgs_bbcode_uid varchar(10) NOT NULL,
privmsgs_text text,
PRIMARY KEY (privmsgs_text_id),
);
[/CODE]

i believe the error to be in the ); but i have no idea how to fix it.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@JaelanFeb 25.2005 — Haven't looked too closely at it yet, but first glance, it's in your primary key line:
<i>
</i>PRIMARY KEY (privmsgs_text_id),


should not have a comma at the end:

<i>
</i>PRIMARY KEY (privmsgs_text_id)



Jaelan
×

Success!

Help @Raven8685 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...