Im trying to include a word (the name of a shop) that is in another php file into this query, i already tried in diferent ways but without success.
This is what i have:
<?
$queryentA2 = mysql_query("SELECT * FROM `client_invoices` WHERE 1 AND `paid` = 'ent' AND `date_due` > '2018-12-31' AND `shop` = 'include('shop.php')'");
$numberentA2 = mysql_num_rows($queryentA2);
?>
I expect the number of entries for that shop but no information is displayed.