$sb, 'o' => $o))); $sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM products LEFT JOIN categories ON product_category_id = category_id WHERE products.company_id = $session_company_id AND (product_name LIKE '%$q%' OR product_description LIKE '%$q%' OR category_name LIKE '%$q%' OR product_price LIKE '%$q%') ORDER BY $sb $o LIMIT $record_from, $record_to"); $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); ?>

Products


"> $product_description"; } $product_price = floatval($row['product_price']); $product_currency_code = htmlentities($row['product_currency_code']); $product_created_at = $row['product_created_at']; $category_id = $row['category_id']; $category_name = htmlentities($row['category_name']); $product_tax_id = $row['product_tax_id']; ?>
Name Category Description Price Action