#1

When I make mysql system in my gamemod I have to make tabels for phpmyadmin. How to make that?
Reply
#2

Read this
Reply
#3

Make them with SQL.
I mean, a query with:
PHP код:
CREATE TABLE IF NOT EXISTS tablename (username VARCHAR(24), pass VARCHAR(24)) 
For example in SQLite:
pawn Код:
db_query(database,"CREATE TABLE IF NOT EXISTS tablename (username TEXT, pass TEXT)");
And normal MySQL:
pawn Код:
new query[128];
format(query,128,"CREATE TABLE IF NOT EXISTS tablename (username VARCHAR(24), pass VARCHAR(24))");
mysql_query(query);
It should work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)