diff --git a/examples/examples_support/server_processing.php b/examples/examples_support/server_processing.php index ccae1009..ffeae7eb 100644 --- a/examples/examples_support/server_processing.php +++ b/examples/examples_support/server_processing.php @@ -53,6 +53,7 @@ /* * Ordering */ + $sOrder = ""; if ( isset( $_GET['iSortCol_0'] ) ) { $sOrder = "ORDER BY "; @@ -80,7 +81,7 @@ * on very large tables, and MySQL's regex functionality is very limited */ $sWhere = ""; - if ( $_GET['sSearch'] != "" ) + if ( isset($_GET['sSearch']) && $_GET['sSearch'] != "" ) { $sWhere = "WHERE ("; for ( $i=0 ; $i