Welcome To Snipplr


Everyone's Recent Snippets Tagged mysql



1 ... 9 10 11 12 13 ... 19
0 1609 posted 16 years ago by bradless
1 2046 posted 16 years ago by ginoplusio
To convert files, especially prior to mysql insert. use file filename to find out encoding
1 1842 posted 16 years ago by bionic
Every MySQL class for PHP I've seen so far has been an epic disappointment. This will not lead you to feel the same way. Enjoy!
0 1220 posted 16 years ago by jrgp
1 1521 posted 16 years ago by jmacgr
I wrote this really quick and dirty script to paginate a very large chunk of text. A client site was setup with the understanding their about page would consist of 5-6 paragraphs but their biography ended up being 60 paragraphs. At the end of the d...
0 1436 posted 16 years ago by aristoworks
Esquema basico manejo cursores en MYSQL
0 1310 posted 16 years ago by xaviles
0 1969 posted 16 years ago by loric
0 1333 posted 16 years ago by level09
1 1445 posted 16 years ago by ReeceMarsland
2 1394 posted 16 years ago by czapata
Some code I found for calculating and determining a persons age
1 1306 posted 16 years ago by mpcircuitry
Came across this nice snippet @ mysql.com
2 4343 posted 16 years ago by j4kp07
I used this code to run MySQL commands in ASP.NET
1 2296 posted 16 years ago by mpcircuitry
used to find content that uses the PHP input filter....useful for upgrading core!
0 1597 posted 16 years ago by ReeceMarsland
Using SQL you can have your database return the distance between 2 sets of Lat and Long points, and using some math functions also take into account the curvature of the earth.
3 2444 posted 16 years ago by zingo
1 1323 posted 16 years ago by fabianschoefisch
Just updated for WP 3 (added wp_postmeta table for menus)! Test out the new installation thoroughly but everything should be fine, and your CMS should be running live on the new server!
0 1470 posted 16 years ago by beneberle
A very simple class that quickly gets you interacting with a database, as long as you know sql :P.
1 2251 posted 16 years ago by r3morse
requires Rails libraries. could be rewritten to just use core Ruby libs, but I'm too lazy right now and I use this entirely in my Rails apps.
0 1847 posted 16 years ago by mepatterson
0 1836 posted 16 years ago by yakafokon
1 1647 posted 16 years ago by nate63179
- fields on db with utf8_general_ci collation - make this query after any connection - put meta charset utf8 - read and write strings without problems
0 1461 posted 16 years ago by ginoplusio
1 ... 9 10 11 12 13 ... 19