Profile
Achievement

ginoplusio's Recent SnippetsTagged mysql
- All /
« 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
290
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
263
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
151
posted 11 years ago by ginoplusio
make a query and retrieve the first record, if error occurs show it and the query.
0
133
posted 12 years ago by ginoplusio