Jump to content

Jaydan

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Jaydan

  1. No problem, if you need anymore help then you can skype me: jaydancc
  2. viewtopic.php?t=42067&f=148 Read that, next you would want to make a table with the following columns: accountname, drift points then you'd do something like local handler = mysql_connect("localhost", "root", "password", "database") local accountname = getAccountName( getPlayerAccount( player ) ) local driftpoints = driftpoints mysql_query(handler, "UPDATE users SET driftpoints = '" .. driftpoints .."' WHERE accountname = '" .. accountname .. "' ") something like that, then on your register script you should make it insert them into the users table or whatever.
  3. You'll need to make a script which connects to your mySQL server and executes a query to save 'drift points'.
  4. Well, you seem new to sql databases. I suggest you start off with SQLite but none the less I'll show you how to create a database using phpmyadmin (should come with xampp if I remember correctly) 1. Navigate to http://localhost/security/xamppsecurity.php and fill in this section, it shouldn't have "current password". Then RESTART THE MYSQL SERVICE after you have set up your password 2. Now that you have your login details set up, navigate to http://localhost/phpmyadmin/ and login with username; root password; the password which you set. 3. Click the database tab and it should bring you here; Note; I have an older version of xampp. Then you type your database name and you're done. Question; why did you install xampp when you are just using the mysql service?
  5. Wish I'd found this sooner, I use sublime for pretty much every language, thanks for taking the time to make this package it has benefited me greatly. Will be checking this page for the plugin updates
×
×
  • Create New...