Bonjour je suis confronté a un probleme.

Tout d'abord
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
function getContent(timestamp)
{
    var queryString = {'timestamp' : timestamp};
 
    $.ajax(
        {
            type: 'GET',
            url: 'serverNewUser.php',
            data: queryString,
            success: function(data){
                // put result data into "obj"
                var obj = jQuery.parseJSON(data);
                // put the data_from_file into #response
                $('#response').html(obj.data_from_file);
                // call the function again, this time with the timestamp we just got from server.php
                getContent(obj.timestamp);
            }
        }
    );
}
 
// initialize jQuery
$(function() {
    getContent();
});
Le code fonctionne mais malheureusement je sais pas comment faire pour passer du php.
J'ai pas mal cherché et je ne trouve rien

J’espère que la communauté va pouvoir m'aiguiller

Merci