My AJAX script calling a PHP function returns all rows in a table instead of rows that have a variable \'invoice\' set to 1 (which is what I need). I have a page where a user cl