i want to add a virtual column to wpdb get_results statement
this is my code and the column gid returns nothing .
$result = $wpdb->get_results ( " SELECT helo AS gid, calendar_id, day FROM table1" ) ;
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community