Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
-
irealms
- Forum Contributor
- Posts: 215
- Joined: Mon Apr 28, 2003 7:10 am
- Location: Leeds
Post
by irealms »
that query worked fine, its the insert that doesn't
Code: Select all
$query = "INSERT into 'user' (username, passwd, charname, email) VALUES ('$username', '$passwd', '$charname', '$email')";
-
irealms
- Forum Contributor
- Posts: 215
- Joined: Mon Apr 28, 2003 7:10 am
- Location: Leeds
Post
by irealms »
renamed the table to users and it works now:
Code: Select all
$query = "INSERT INTO users (username, passwd, charname, email) VALUES ('$username', '$passwd', '$charname', '$email')";
-
volka
- DevNet Evangelist
- Posts: 8391
- Joined: Tue May 07, 2002 9:48 am
- Location: Berlin, ger
Post
by volka »
' and ` are two different characters
