I've created a table to use within my Wordpress site, with columns using date, int and varchar as the type.
However, when I use var_dump to get the values of particular rows and results, it displays all the columns as string.
I haven't seen this actually affect the operation of the DB calls and functions, but I'm just wondering why they're all returning as strings, where I've seen core Wordpress functions in var_dump returning int values sometimes.
$bv_set = $wpdb->get_row('SELECT * FROM wp_before_after WHERE ID = '.$bv_id );
var_dump($bv_set);
C:\wamp64\www\bellavou\wp-content\plugins\bv-before-afters\views\edit.php:8:
object(stdClass)[6915]
public 'ID' => string '1' (length=1)
public 'created' => string '0000-00-00' (length=10)
public 'before_date' => string '2015-04-08' (length=10)
public 'after_date' => string '2015-04-21' (length=10)
public 'patientID' => string '2137' (length=4)
public 'procedureID' => string '238' (length=3)
public 'patient_display' => string '1' (length=1)
public 'procedure_display' => string '1' (length=1)
public 'gallery_display' => string '1' (length=1)
public 'before_img' => string '2200' (length=4)
public 'after_img' => string '2199' (length=4)
public 'period_taken' => string '1week' (length=5)
public 'notes' => string '' (length=0)

var_dump, sorry.get_row? Assuming this is a wrapper method for executing the query/getting the result?