Bonjour ,
j'ai un problème pour faire une pagination , j'ai codé un moteur de recherche php / xml qui recupere des annonces , j'arrive a limité le nombre d'annonce par page et a crée les liens vers les autres page mais le probleme lorsque je clic sur la page suivante("http://localhost/tests/recherche.v06.php?page=2" ) j'ai ce message :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
Notice: Undefined index: codepostal in C:\wamp\www\tests\recherche.v06.php on line 28
 
Notice: Undefined index: budget_min in C:\wamp\www\tests\recherche.v06.php on line 29
 
Notice: Undefined index: budget_max in C:\wamp\www\tests\recherche.v06.php on line 30
 
Notice: Undefined index: choix in C:\wamp\www\tests\recherche.v06.php on line 31
 
Notice: Undefined index: surface_min in C:\wamp\www\tests\recherche.v06.php on line 32
les lignes correspondantes sont celle ci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
$codepostal_ville = strtoupper($_POST['codepostal']);
$budget_min = $_POST['budget_min'];
$budget_max = $_POST['budget_max'];
$surface_min = $_POST['surface_min'];