Bonjour tous le monde
Je vous montre ci dessous mon script actuel.
Code : PHP
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// Recuperation des donnees $sql = "SELECT table1.champa AS champ1a, table2.champa AS champ2a, table1.champa AS champ1b, table2.champb AS champ2b, table1.champa AS champ1c, table2.champc AS champ2c, table1.champa AS champ1d, table2.champd AS champ2d FROM table1 JOIN table2 ON table2.champa=table1.champa WHERE ( table1.champa != table2.champa OR table1.champb != table2.champb OR table1.champc != table2.champc OR table1.champd != table2.champd ) ORDER BY table2_old.id LIMIT ". $current_start .",". $items_perpage; $req = mysqli_query($link,$sql) or die (mysqli_error($link));
Quelqu'un a t'ilune idée pour que je puisse faire une requet préalable afin de récupérer le nom des champ de ma db afin de faire un petit boucle pour crée cette requète qui est bien longue
Merci d'avance.










Répondre avec citation
Partager