Welcome To Snipplr


Everyone's Recent Snippets Tagged database



0 1119 posted 14 years ago by sridhar
This is a skeleton mock up for showing a database table in a basic datagrid with sorting and pagination.
0 2508 posted 14 years ago by brownrl
run these in the SQL tab
0 1132 posted 14 years ago by xcsteve99
Refer to the following: http://codex.wordpress.org/Class_Reference/wpdb
0 2984 posted 14 years ago by redconservatory
A simple utility class that uses the H2 SQL Db to maintain a database connection. It also gives a convenience method to run SQL scripts. _Note:_The init.sql value is hardcoded, and should be replaced by a static variable if needed
0 1369 posted 14 years ago by studioevoque
Get the value of the autonumber field for the last record inserted into an Access database via the current connection.
0 1307 posted 14 years ago by wizard04
0 1143 posted 14 years ago by kendsnyder
0 1217 posted 14 years ago by saibal
Create custom database tables within wordpress. Just replace 'stats' with the name of your table, and then the $sql variable with your create table sql.
0 1547 posted 14 years ago by prwhitehead
Just a simple php insert script.
0 1140 posted 14 years ago by JonnySnip3r
Just a simple database script.
0 1256 posted 14 years ago by JonnySnip3r
Snip it if you keep forgetting how its done.
1 1364 posted 14 years ago by fengelz
In a recent iphone webapp I developed, I needed to use safari's Local Database feature. The webapp needed to make a few SQL Queries while performing other actions. The local database data transaction process makes it difficult to make queries and...
0 1309 posted 14 years ago by cmndo
This was a school project, so it is not well commented but feel free to ask details.
0 1367 posted 14 years ago by sp4ke
0 1077 posted 14 years ago by tonatiuh
Field1 + Field2 + Field3 should create 1 entry for each unique row in the DB. In an employee table, this would be FirstName + LastName + EmployeeNumber
1 1071 posted 14 years ago by ezerick
The uploaded file is attached to the "pid" of the recently inserted project. the "pid" variable is retrieved from the database after the project has been entered
2 1368 posted 14 years ago by danhanly
Specifications of the TOPIC database format, a standardized structure for plain text databases that's easy to read and edit in most text editors, and easy to programmatically parse as well.
0 3094 posted 14 years ago by TopcatSoftware
0 1032 posted 14 years ago by delineo
0 1046 posted 14 years ago by hamsterbacke82
This is my fairly easy to use MySQL database class, I use this on my Experiment framework BlahFramework, anyways I thought someone else may find this useful or just study the code to get an awesome idea of there own. Enjoy.
3 2429 posted 14 years ago by Cory
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1 1209 posted 14 years ago by juanchifc
By using this php snippnet we can store different fields (got by array post) into a sql database
1 1134 posted 14 years ago by juanchifc
By using this snippnet we can recover and show on a table the items stored into a sql database managed with mysql.
1 1135 posted 14 years ago by juanchifc
Database connection class to be easily incorporated into any db based softwares, using SQLite 3
2 2254 posted 15 years ago by amitkenny
Solucion a error cuando mudamos una bd de una pc a otra y luego no podemos crear un diagrama de la BD
2 1689 posted 15 years ago by derebus