Welcome To Snipplr


Everyone's Recent Snippets Tagged mysql



1 413 posted 15 years ago by therobot
0 476 posted 15 years ago by therobot
1 334 posted 15 years ago by hyperwhat
2 385 posted 15 years ago by hyperwhat
3 547 posted 15 years ago by lmcdougall
2 470 posted 15 years ago by micmath
0 370 posted 15 years ago by micmath
Useful when your server runs out of disk space
1 435 posted 15 years ago by benpjohnson
to use apostrophs in the field values i.e. st john's
0 366 posted 15 years ago by valcartei
2 509 posted 15 years ago by thebugslayer
Don't do it this way. This was written so long ago.
90 4432 posted 15 years ago by llbbl
1 606 posted 15 years ago by llbbl
This class operates a range of mysql functions base on arrays. Example: Name: Description:
22 3530 posted 15 years ago by emuen
4 705 posted 15 years ago by llbbl
Usage: $_POST = mysql_real_escape_array($_POST)
3 651 posted 15 years ago by d4rk
13 1139 posted 16 years ago by johnself
Returns an array of values specified for an enumerated MySQL field
2 693 posted 16 years ago by johnself
2 things here. currency (euro) with in a 2.00 format and select entries older than 4 weeks = 28 days
2 485 posted 16 years ago by assbach
useful if a "valid until" should have an exact ( in this case far future ) value.
0 423 posted 16 years ago by assbach
1 548 posted 16 years ago by drwitt
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 406 posted 16 years ago by assbach
1 496 posted 16 years ago by Shpigford
This will return the number of seconds between now and when the time field was inserted.
0 612 posted 16 years ago by wolfie