select * from users u left join inventory i on (u.user_id=i.user_id) where u.user_id = 1;
<?php if( get_field('footer_link_facebook') ): ?>
<li class="footer-section_social-item footer-section_social-item--facebook">
<a href="<?php the_field('footer_link_facebook', 163);?>" class="footer-section_social-link footer-section_social-link--facebook" target="_blank" rel="noopener noreferrer"></a>
</li>
<?php endif;?>
$spreadsheet = PhpSpreadsheet\IOFactory::load( 'list.xls' );
$rows = $spreadsheet->getActiveSheet()->toArray();
$data['products'][] = array(
'store_id' => $this->model_catalog_product->getProductStores($result['product_id']),