Si, hai ragione scusami....
Grazie mille.codice:<?php setlocale(LC_ALL, 'it_IT'); define('ROOT_DIR', $_SERVER["DOCUMENT_ROOT"]."/intranet/"); include ROOT_DIR .'/dwhTest/inc/defineTest.php'; get_ob_gzhandler(); get_header();//dentro questa funzione c'è l'head della pagina con questi file: <!--DOCTYPE html> <html lang='en'> <head> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'> <meta charset='utf-8'> <meta http-equiv='Content-Language' content='it' > <meta name='Robots' content='All' > <meta http-equiv='X-UA-Compatible' content='IE=edge'> <meta name='viewport' content='width=device-width, initial-scale=1'> <title>DataTables | Gentelella</title> <script src='../gentelella/jquery/dist/jquery.min.js'></script> <!-- Bootstrap --> <link href='../gentelella/bootstrap/dist/css/bootstrap.min.css' rel='stylesheet'> <!-- Custom Theme Style --> <link href='../gentelella/build/css/custom.min.css' rel='stylesheet'> <link href='../gentelella/build/css/font-awesome.css' rel='stylesheet'> <style> body{background-color:#FFF} </style> </head--> <script> $(document).ready(function() { $('#datatable').dataTable({ "paginate": true, "sort": false }); }); </script> <body> <div id="container" class="container"> <!-- dentro "container" ho le mie funzioni in php, con le quali visualizzo la tabella HTML con i dati, questo div è quello che vado ad aggiornare--> </div> <?php get_footer();//questa funzione contiene?> <!--script src='../gentelella/jquery/dist/jquery.min.js'></script><script src='../gentelella/bootstrap/dist/js/bootstrap.min.js'></script> <script src='../gentelella/datatables.net/js/jquery.dataTables.min.js'></script> <script src='../gentelella/datatables.net-bs/js/dataTables.bootstrap.min.js'></script> <link rel='stylesheet' href='../gentelella/datetimepiker/bootstrap-datetimepicker.min.css' /> <script src='../gentelella/datetimepiker/moment.min.js'></script> <script src='../gentelella/datetimepiker/bootstrap-datetimepicker.min.js'></script--> </body> </html> ?>

Rispondi quotando