LuaSQL v0.1 - Lua database for the PSP |
Ó
Need to access a database with your PSP? Why not try shaolan's LuaSQL v0.1? This library allows homebrew developers to access SQL through PHP. Users can now create web-based applications with lots of data entries as well as access various security features that are inherent with SQL.To use this program, you will need a server that supports PHP and has an SQL Database. The library uses the first WiFi connection by default and works on Lua Player v0.16. Since this is the first release of the program, the developer intends on optimizing the code of the homebrew and increasing the functions available via SQL queries.
If you plan on using the program, shaolan included some basic code blocks that you will need to access the database.
Starting a session:
French:
--// appelle de la librairie
dofile("SQLRequest.lua")
--// Initialisation de la connexion
SQL.init(serveur,database,login,password)
--// Connexion à la base de données
SQL.connect()
English:
Calls to the bookstore
Dofile ( "SQLRequest.lua")
Initializing connection
SQL.init (server, database, login, password)
Connect to the database
SQL.connect ()
Queries:
French:
--// Requete SELECT
variable = SQL.select(table,champ,parametre)
--// Requete UPDATE
SQL.update(table,champ,valeur,parametre)
English:
--//SELECT Request
Variable = SQL.select (table, field, parameter)
--//UPDATE Request
SQL.update (table, field value parameter)
Ending a session:
French:
--// Ferme la connexion SQL
SQL.close()
--//Closing connection SQL
SQL.close ()
Via XtremeLUA
Contact Us:
The QJ.net Network |
|
| Site | Feed |
| QJ.NET | RSS |
| Nintendo DS | RSS |
| PlayStation 3 | RSS |
| PSP Updates | RSS |
| Wii | RSS |
| Xbox 360 | RSS |
| MMORPG | RSS |
| Personal Computer Games | RSS |
| iPhone - iPod Touch | RSS |
| QJ.NET Forums | RSS |
User Favorites - December
User Favorites - December
Categories
Archives
Accessories
Add-ons
Applications
Artwork
Batteries
Cheats
Deals
Emulators
Events
Featured Articles
Firmware
Flash Applications
Flash games
Game Demos
Games
Hacks & Exploits
Homebrew Applications
Homebrew Demos
Homebrew Development
Homebrew Emulators
Homebrew Games
Homebrew Themes
How-To
Humor
Imports
Interviews
Magazines
Mods
MY QJ
News
Off Topic
On Shelves This Week
Opinions & Analysis
Podcasts
Previews
PSP Go
PSP Minis
PSP Slim & Lite
QJ How-To Series
QuickJump QuickGuide
QuickJump QuickPeek
Reviews
Rumors
Scans
Screenshots
Site News
Titles
UMD Movies
Videos
Weekend Warrior
Wi-Fi
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
Comments
No Comments, be the first to Comment
Add New Comment