dimanche 1 mars 2015

Wordpress Widget - Custom search in custom table

Ok, so I have a problem. I want to create Wordpress small widget which will display a search form working in custom table placed in wordpress database.


In example: I have a table "codes" with 2 columns: "code", "description" How to create widget which will display SQL result: "SELECT 'description' FROM 'codes' WHERE 'code' = $search_query" ?


Aucun commentaire:

Enregistrer un commentaire