i have this variable here:
$prefix=$wpdb->base_prefix ;
Which prints
wp_
Now, i do have this query, and i need to insert it something like this:
$path = $wpdb->get_results("SELECT * FROM $prefixbckg
WHERE id = 1");
My output has to be this:
$path = $wpdb->get_results("SELECT * FROM wp_bckg
WHERE id = 1");
How can i do this? Because i need to make the prefix to be flexible, so i need to add the prefix before, without pre-defining it. Thanks
$path = $wpdb->get_results("SELECT * FROM {$prefix}bckg WHERE id = 1");?..