Converting flat-file to MySQL (ini to MySQL) - How?

09/13/2011 20:00 xBlackPlagu3x#1
The question says it all. Using LOTF is a real joy for me because I understand it real well. The only problem is I like to use my PHP skills and I don't know/think I can have it read data like it would from a MySQL database by using .ini databases. How would I go about re-writing the database to save/load by using MySQL? Is it as simple as copying another sources way of save/loading?
09/13/2011 20:49 BaussHacker#2
Load from ini, save to mysql.
09/13/2011 23:10 pro4never#3
#deleted

Your reply was inappropriate. His was slightly disrespectful so I'll remove it also but yours was just being immature.

That being said... just look at examples online as to how to combine C# with sql.

Then write some small example programs (always pull back from conquer first and look at GENERAL THEORY). Once you get a basic grasp of how to use sql then you can worry about converting one system at a time (for example convert characters to sql and all the required save/load methods then worry about other systems like items or w/e later!)

<edit>

There are TONS of ways to integrate sql including many existing libraries of varying complexities and purposes. That's why research is always recommended before choosing something.
09/13/2011 23:48 xBlackPlagu3x#4
Quote:
Originally Posted by pro4never View Post
#deleted

Your reply was inappropriate. His was slightly disrespectful so I'll remove it also but yours was just being immature.

That being said... just look at examples online as to how to combine C# with sql.

Then write some small example programs (always pull back from conquer first and look at GENERAL THEORY). Once you get a basic grasp of how to use sql then you can worry about converting one system at a time (for example convert characters to sql and all the required save/load methods then worry about other systems like items or w/e later!)

<edit>

There are TONS of ways to integrate sql including many existing libraries of varying complexities and purposes. That's why research is always recommended before choosing something.
Thanks for both the advice and for the deleting of both comments. I think what I'll do is try a small program that loads from a .ini and saves to a .mysql like Jacob suggested and then from there make that program load from MySQL and then convert one system at a time, like you said. Thanks a bunch!