Notice: Undefined variable: string in /home/u665484253/domains/wpcodekit.com/public_html/wp-content/themes/twentytwenty-child/functions.php on line 61
Get all unique years from a date column using Sql(Mysql).
SELECT distinct year(OrderDate) FROM Orders;
SELECT distinct year(column_name) FROM table_name;
Read More Posts
- How to create session in cordova app with jquery (ajax) in wordpress?
- How to check user is logged in woocommerce and wordpress?
- How to pick date(Date Picker) from text field with placeholder in jquery?
- How to get Selected Option Text of HTML SELECT using jQuery?
- How to extract or fetch values from textfield for php?