Outputting data in php
-
Having some difficulty grabbing date specific info from the database:
$start_date = date(‘Y-m-d’, strtotime($dates[0]));
$end_date = date(‘Y-m-d’, strtotime($dates[1] . ‘ +1 day’));
include_once( WP_PLUGIN_DIR . ‘/wp-slimstat/admin/view/wp-slimstat-db.php’ );
$time_range_condition = “strtotime between ‘” . $start_date . “‘ and ‘” . $end_date . “‘”;
wp_slimstat_db::init($time_range_condition);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Outputting data in php’ is closed to new replies.