Undefined Error in Creating Table For Users in MySql
#1

when i creating a table for users of my server with mysql phpMyAdmin,have undefined error and canceled
i have 121 fields in this table
whats the problem?
Reply
#2

Did you named your table? , scroll to top and it should give you error name

off: pink browser o.0
Reply
#3

yes.my table have name users
Reply
#4

try a SQL command in you pawn

pawn Код:
mysql_function_query(handle,"CREATE TABLE IF NOT EXISTS `users` (`id` int(11) NOT NULL, AUTO_INCREMENT, `name` VARCHAR(24) NOT NULL,`password` VARCHAR(32))", false, "", "");
Reply
#5

but we have 121 columns.
Reply
#6

Exactly. So read up on database normalization and relations. There is no advantage in using SQL if you're just going to treat is as a file system.
Reply
#7

but i did read mysql is fastest and i using for show userpanel is site too
Quote:

So read up on database normalization and relations.

i dont know your means.can you say easyer?
Reply
#8

Quote:
Originally Posted by rouzbeh
Посмотреть сообщение
but i did read mysql is fastest
Whatever you're reading is wrong.

****** search "MySQL database normalization and relations" and read the stuff from the official MySQL website- it's important!
Reply
#9

Solved
i first write top 100 in one file and export that.then write 21 other and import 100 fields.
i think that is phpmyadmin's bug!!
very thanks for all replies!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)