how can sort my dates by php/mysql? -


i'm trying change sorting date of stores localized in map (wp plugin: store-locator-le) php , mysql. insert date in phone field, before have change field in date. can me?

 $this->dbquery = apply_filters('slp_mysql_search_query',         "select *,str_to_date(sl_phone, '%d-%m-%y') date ".         "from store_locator ".         'order date asc'         ); 

if write sql code in mysql phpmyadmin, works!

the problem apply_filter function. using %%d-%%m-%%y query


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

excel vba - VBA Proxy auto-configuration for http requests -

php - phpWord - Tables with borders in headers/footers -