Subversion Repositories computer_asset_manager_v1

Rev

Rev 86 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86 Rev 89
Line 73... Line 73...
73
               } // foreach
73
               } // foreach
74
               if ( $_REQUEST['product'] )
74
               if ( $_REQUEST['product'] )
75
                  $filter[] = "license_product.name like '%" . $_REQUEST['product'] . "%'";
75
                  $filter[] = "license_product.name like '%" . $_REQUEST['product'] . "%'";
76
               if ( $_REQUEST['license'] )
76
               if ( $_REQUEST['license'] )
77
                  $filter[] = "license.license like '%" . $_REQUEST['license'] . "%'";
77
                  $filter[] = "license.license like '%" . $_REQUEST['license'] . "%'";
78
                  
78
               $filter[] = $_SESSION['where_clause'];
79
               $query = insertValuesIntoQuery( SQL_SHOW_LICENSE,
79
               $query = insertValuesIntoQuery( SQL_SHOW_LICENSE,
80
                            array('whereClause' => implode( ' and ', $filter )
80
                            array('whereClause' => implode( ' and ', $filter )
81
                                                                  ));
81
                                                                  ));
82
               if ( DEBUG ) print "<pre>$query</pre>";
82
               if ( DEBUG ) print "<pre>$query</pre>";
83
               print queryToTable( $query );
83
               print queryToTable( $query );