[MySQL]Table Relations and Saving using ORM??
#1


I was making a faction system....so
i wanted to know is that a Right Way to set relation between tables.....i mean i haven't tested so i wanted to know will they perform good?

second......i'm using ORM to save everything.....can you give me an example how i will update faction info...
like i have cmd in script....
PHP код:
CMD:faccreate(playerid,params[]) 
so at then end of cmd how i can update info for it in that table....?
i know i have to use orm_save(blablabla)....
but how.....
Reply
#2

Refer:
https://sampforum.blast.hk/showthread.php?tid=461766
https://sampforum.blast.hk/showthread.php?tid=493138
I dont use it myself.. So I am in no position to advice.. And I am not sure if thats the right tutorial..
Reply
#3

Quote:
Originally Posted by Mic_H
Посмотреть сообщение
Refer:
https://sampforum.blast.hk/showthread.php?tid=461766
https://sampforum.blast.hk/showthread.php?tid=493138
I dont use it myself.. So I am in no position to advice.. And I am not sure if thats the right tutorial..
Wtf.....Where you were from the whole day
LOL a huge thanks man.....The exact thing I was looking for but don't know why I wasn't not able to find it I used search option too...
Anyways +1,rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)