Help with MySql and Arry
#1

Hello
I Started to convert my mode to using MySQL
But in my clan system the hq's loaded from the clan's file.
For example
if cInfo[i][cObjects] == 50
so its would load 50 objects(50 lines in file)
So how can I conver this to MYSQL??
(The title is Help with MySQL and Arry because the objects its like a dynamic arry that his size changed and in the file its add lines when the arry get bigger).

Sorry for my English....
Reply
#2

You should go learn a little bit about MySQL before you try using it. Vince has a few tutorials on the proper usage of MySQL and outside of this forum are thousands of different tutorials that you could use to gain some knowledge.

The key things you need to look at would be the syntax, the keywords, and table structure. Then you should look into more advanced things.
Reply
#3

I know how to use basic MySQL
but this thing I never try to do..
so how I do it?
Reply
#4

If you know basic sql you should know how to do this. Go read some more.
Reply
#5

But I don't know how to add cols through pawn
and every clan have a diffrent number of objects so its can't be the same in every clan
Reply
#6

Up..
Reply
#7

Read the forum rules please.

You don't add tables and columns through PAWN- that's just stupid. Use phpMyAdmin or another MySQL database editing tool.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)