Quantcast
Channel: mysql – barattalo
Browsing all 13 articles
Browse latest View live

10 PHP usefull functions for MySQL stuff

Here is my personal collection of 10 php function that I always include in my database function library. I think they are very usefull and I’d like to share with you. Here are the mysqli versions of...

View Article



PHP function to fix collation on database fields of MySQL

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....

View Article

13 mysql tips that you don’t know

Here is a list of thirteen tips that can be usefull for your queries. If you know more tips send comments. 1 REMAP VALUES INSIDE A QUERY USING CASE…WHEN SYNTAX 2 FIND DUPLICATE RECORDS WITH EMAIL FIELD...

View Article

MySQL fulltext search always empty

If you’ve just switched to FULLTEXT indexes and you’ve just started playing with MATCH... AGAINST syntax, but you always get 0 rows results, probably you’re not crazy, and no, it isn’t a mysql bug....

View Article

Stop UTF8 problems with special characters

I’m italian and I always need to use special chars like è é à ù. The same need belongs to… The post Stop UTF8 problems with special characters appeared first on barattalo.

View Article


PHP to get enum/set values from mysql field

This function returns an array with the elements allowed in a ENUM or SET mysql field. This can be usefull… The post PHP to get enum/set values from mysql field appeared first on barattalo.

View Article

Using REPLACE in an UPDATE statement to fix data on MSSQL and MySQL

Sometimes it’s necessary fix data on the database. I had to fix on a Microsoft database: I had to fix… The post Using REPLACE in an UPDATE statement to fix data on MSSQL and MySQL appeared first on...

View Article

MYSQL add counter in a query

Sometimes I’ve needed to add a counter column in a query and I don’t want to add the column with… The post MYSQL add counter in a query appeared first on barattalo.

View Article


Image may be NSFW.
Clik here to view.

10 PHP usefull functions for MySQL stuff

Here is my personal collection of 10 php function that I always include in my database function library. I think… The post 10 PHP usefull functions for MySQL stuff appeared first on barattalo.

View Article


Image may be NSFW.
Clik here to view.

10 PHP usefull functions for MySQLi stuff (mysql improved)

I’ve modified the previous post to use mysqli instead of mysql. Was it necessary? I think it was good step… The post 10 PHP usefull functions for MySQLi stuff (mysql improved) appeared first on...

View Article

PHP function to fix collation on database fields of MySQL

This PHP function search for tables in the active db, match table’s name with the regular expression passed as first… The post PHP function to fix collation on database fields of MySQL appeared first...

View Article

13 mysql tips that you don’t know

Here is a list of thirteen tips that can be usefull for your queries. If you know more tips send… The post 13 mysql tips that you don’t know appeared first on barattalo.

View Article

Image may be NSFW.
Clik here to view.

How to remove custom fields from WordPress

Ok. You’ve added custom fields in wordpress, but how can you remove them? How to delete custom fields wordpress Two… The post How to remove custom fields from WordPress appeared first on barattalo.

View Article

Browsing all 13 articles
Browse latest View live




Latest Images