ULoginSystemPro + Database query

General support.
Post Reply
User avatar
ve_game
Member
Member
Posts: 26
Joined: Thu Jun 04, 2020 10:17 am

Hi
I created in mysql Column database
How can I write to it or check my data?
help me please

Example
Your
bl_DataBase.Instance.SaveNewCoins(10000);

I would like to save my data
Example
bl_DataBase.Instance.SaveMyColumn(10000);

would appreciate help/
Thanks in advance
User avatar
killa187
Contributor
Contributor
Posts: 56
Joined: Thu Apr 23, 2020 7:46 pm

You will need to setup a couple functions to send and receive from unity project to database.but to a php script you will need to understand php and mysqli or similar to talk to database for security not directly. So you will need to understand how to select insert etc for mysql and php to run checks from answers and responses from database and echo it back to unity in very simplistics.
User avatar
killa187
Contributor
Contributor
Posts: 56
Joined: Thu Apr 23, 2020 7:46 pm

Technically you could rewite if knew what doing the existing scripts unity php and add your own vars when need and replace the coins reference in the select and insert with own column name use existing php and change there what needs to be.
User avatar
ve_game
Member
Member
Posts: 26
Joined: Thu Jun 04, 2020 10:17 am

killa187 wrote: Thu Jun 04, 2020 10:54 pm Technically you could rewite if knew what doing the existing scripts unity php and add your own vars when need and replace the coins reference in the select and insert with own column name use existing php and change there what needs to be.
Thanks, I'm dealing with php + mysqli
In the future I will need it.
Post Reply