Welcome To Snipplr


Everyone's Recent Snippets Tagged mysql



1 ... 4 5 6 7 8 ... 19
0 1349 posted 14 years ago by takel
0 1315 posted 14 years ago by dsoms
1 1339 posted 14 years ago by yanek1988
0 1079 posted 14 years ago by zubacris
0 1012 posted 14 years ago by zubacris
This generates a simple insert statement for mysql based on all the variables in $_GET or $_POST using a simple page. It does not do the inserts although that is a simple addition - just builds and displays your insert statement.
1 2107 posted 14 years ago by kidmizere
0 1307 posted 14 years ago by sjacunningham
it ignores commas in a csv that are in string quotes
0 1387 posted 15 years ago by Krummelz
With this snipt you could replace all the "<br>" tags that you have in a table for php newline character.
0 1890 posted 15 years ago by tonatiuh
0 1548 posted 15 years ago by realpeterz
0 1723 posted 15 years ago by BoNzO
0 1518 posted 15 years ago by rahijain
0 1200 posted 15 years ago by hamsterbacke82
3 1957 posted 15 years ago by nielsenrc
Registro de usuario en PHP con validación y activación por mail
0 2207 posted 15 years ago by danideu
Registro de usuarios en PHP con validación y activación por mail
0 2569 posted 15 years ago by danideu
0 1053 posted 15 years ago by markbenfield
Cronjob and PHP examples below
0 1355 posted 15 years ago by sdxxx
0 1991 posted 15 years ago by arifwidi
Data Types for DB, MySQL, SQLite, PHP, Ruby, Rails, JS, etc. because I forget them sometimes from Ruby on Rails Guides: Migrations http://bit.ly/hFWjT0 from Rails Migrations http://bit.ly/hI5zpz
0 1792 posted 15 years ago by brandonjp
If you every get hit by ERROR 1153 (08S01): Got a packet bigger than 'max_allowed_packet' bytes, then this might help. You also need to make sure that the user that you log in with has SUPER privileges on their account.
0 1492 posted 15 years ago by daipratt
0 1671 posted 15 years ago by rstandley
I thought this was pretty elegant code and wanted to share it with anyone who found it useful.
0 1295 posted 15 years ago by mattneary
0 1379 posted 15 years ago by drifterz28
0 1331 posted 15 years ago by danhanly
0 1434 posted 15 years ago by danhanly
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 1677 posted 15 years ago by danhanly
Plugin gets child pages of parent in Wordpress. You'll need to pass the parent ID but this isn't difficult to figure out programmatically if needed, either.
0 1715 posted 15 years ago by ashworthconsulting
1 ... 4 5 6 7 8 ... 19