How I can start a MySQL query only when my page is fully loaded ?
I need that because my query impact much data and increase the time of load of the page for my visitor :/
I tried with this code without success =>
<script type="text/javascript">
$(window).load(function() {
<?php
include(BASE . "sql-query.php");
?>
});
</script>