05.05.2012, 18:00
Howdy,
Well basically after working a lot and trying too hard, I couldn't seem to succeed doing this, so I decided to get a little assistance from you. Yes, I am an experienced scripter but I totally suck with SQL databases, even though I am required to use it to obtain some information I am really in need of to use it in game.
Ok, just before I begin - mysql_connect() is ok with me and everything is fine, I succeed connecting to the database and stuff, but here comes the hard part for me, I do not seem to know how to use mysql_query() - basically, what I want to do is:
Thanks for your time,
and thanks for reading.
Well basically after working a lot and trying too hard, I couldn't seem to succeed doing this, so I decided to get a little assistance from you. Yes, I am an experienced scripter but I totally suck with SQL databases, even though I am required to use it to obtain some information I am really in need of to use it in game.
Ok, just before I begin - mysql_connect() is ok with me and everything is fine, I succeed connecting to the database and stuff, but here comes the hard part for me, I do not seem to know how to use mysql_query() - basically, what I want to do is:
- Connect to the database (completed)
- Get all user information (including level, etc.)
- A command /users to display all the users with their levels (one user, one line.)
Thanks for your time,
and thanks for reading.