Quantcast
Channel: mysql – barattalo
Viewing all articles
Browse latest Browse all 13

PHP function to fix collation on database fields of MySQL

$
0
0
This PHP function search for tables in the active db, match table’s name with the regular expression passed as first parameters and if it matches alter the table to convert charcter set and collation. This can be usefull when you have a db that you’ve created fast, without thinking, and than you discover: “Ouch! I’ve [...] Related posts:
  1. 10 PHP usefull functions for MySQL stuff
  2. Stop UTF8 problems with special characters
  3. 10 PHP usefull functions for MySQLi stuff (mysql improved)
  4. PHP to get enum/set values from mysql field
  5. MYSQL add counter in a query

Viewing all articles
Browse latest Browse all 13

Trending Articles