Profile

Achievement

first submission:submitting first snipplet

ginoplusio's Recent SnippetsTagged mysql



« Prev 1 Next »
This PHP function lets you reorder records on a table when you have a field used for save the position. If you have a field with position when you are editing records you probably want, for example, to move a record from position 5 to position 2, but...
0 206 posted 6 years ago by ginoplusio
How to remap a value to another inside a mysql query select.
0 170 posted 7 years ago by ginoplusio
Function to fix char set and collation on mysql tables, see [this link](http://www.barattalo.it/2010/02/11/php-function-to-fix-collation-on-database-fields-of-mysql/ "Fix encoding on db") for examples and more infos.
1 196 posted 10 years ago by ginoplusio
1 196 posted 10 years ago by ginoplusio
1 101 posted 10 years ago by ginoplusio
1 168 posted 10 years ago by ginoplusio
- 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 96 posted 10 years ago by ginoplusio
0 116 posted 11 years ago by ginoplusio
1 123 posted 11 years ago by ginoplusio
make a query and retrieve the first record, if error occurs show it and the query.
0 85 posted 11 years ago by ginoplusio
retrieve only one value from the query
0 140 posted 11 years ago by ginoplusio
« Prev 1 Next »