Pages

wordpress update query example

Wednesday, 19 March 2014

wordpress update query example

$sql = "UPDATE `dbname`.`wp_terms` SET `slug` = REPLACE(`slug`, \'--\', \'-\') WHERE `slug` LIKE \'%--%\' COLLATE utf8_bin";
 

Most Reading