Results 1 to 2 of 2

Thread: LuaSQL v0.1

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    42
    Posts
    116,790
    Blog Entries
    3209
    Rep Power
    50

    psp LuaSQL v0.1

    News/release from shaolan is something for those who know how SQL and databases work so for the majority of us this wont be good for us, but heres the translated newspost:

    All of abors veiled all the necessary file:
    LuaSQLv0.1.rar

    Then you must have a server supporting PHP, with many on SQL database

    Server side:

    If you have an archive file PHP, metté its contents at the root of your server (or is generally your "index.php")

    You: votre_serveur / LUA / SQLRequest.php

    Cote PSP:

    Code:

    -- / / Calls to the bookstore
    Dofile ( "SQLRequest.lua")
    -- / / Initializing connection
    SQL.init (server, database, login, password)
    -- / / Connect to the database
    SQL.connect ()

    Code:

    -- / / SELECT Request
    Variable = SQL.select (table, field, parameter)

    -- / / UPDATE Request
    SQL.update (table, field value parameter)

    Code:

    -- / / Closing connection SQL
    SQL.close ()

    Note:
    - When you make the UPDATE query, the query if it is well spent, the variable SQL.error is false if there was a mistake it true worth

    - The library uses by default the first WiFi connection, and operates under the LUA PLAYER 0.16

    - DAns the parameter you can save as much as you want, but the spaces doivents be replaced by% 20 and evité quotes singles or doubles for the moment

    It was only the first version, I intend to optimize shortly and metttre available throughout the SQL query, this is a "preview" rendering final ^ ^


    CODE GOOD!

    Download and Give Feedback Via Comments

  2. #2
    PSP User
    Join Date
    Jun 2006
    Location
    Under your bed (H)
    Posts
    377
    Rep Power
    30

    Default

    not good, it is easy to find out the password

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •