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 231 posted 6 years ago by ginoplusio
How to remap a value to another inside a mysql query select.
0 203 posted 8 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 216 posted 10 years ago by ginoplusio
1 222 posted 10 years ago by ginoplusio
1 117 posted 10 years ago by ginoplusio
1 192 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 114 posted 10 years ago by ginoplusio
0 133 posted 11 years ago by ginoplusio
1 136 posted 11 years ago by ginoplusio
make a query and retrieve the first record, if error occurs show it and the query.
0 98 posted 11 years ago by ginoplusio
retrieve only one value from the query
0 151 posted 11 years ago by ginoplusio
« Prev 1 Next »