HAWKERY
|
  |
| Joined: 21 Jul 2009 |
| Total Posts: 327 |
|
|
| 20 May 2015 09:40 PM |
| Hello, I need help setting up a SQL database for script to grab from. If you have experience, please contact me. I can pay. |
|
|
| Report Abuse |
|
|
HAWKERY
|
  |
| Joined: 21 Jul 2009 |
| Total Posts: 327 |
|
| |
|
HipBunny
|
  |
| Joined: 01 Oct 2014 |
| Total Posts: 39 |
|
|
| 21 May 2015 02:55 AM |
| What is your problem? How are you hosting your SQL database? Also you will need to setup the server that's hosting the SQL database if you haven't already. You will also need to setup a lua script that can handle SQL code and get the actual data from the SQL. |
|
|
| Report Abuse |
|
|
|
| 21 May 2015 04:02 AM |
^Wrong.
You'll need to have a webhost hosting (no duh) the MySQL database. You'll then need a server-side language such as PHP or Node.js to fetch the data from the database. As long as you leave the actual webpage body empty, you can just "print" the contents to the webpage.. Then use GetAsync or PostAsync to retrieve the data from the page.
http://wiki.roblox.com/index.php?title=Sending_HTTP_requests |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 21 May 2015 06:11 AM |
@Epic: You can write server side code that access databases with Lua. I tried doing it before using Luvit and LuaSQL. I could get one library to work or the other to work, but I couldn't get LuaSQL to work with Luvit for some reason (probably putting the module in the wrong place or something). Also, Node.js isn't a language. https://luvit.io/ http://keplerproject.github.io/luasql/doc/us/ |
|
|
| Report Abuse |
|
|
|
| 21 May 2015 11:59 AM |
| The code for the old Football Ledgens has embedded SQL calls in it, and is uncopylocked. I would read that, if I were you. |
|
|
| Report Abuse |
|
|