Bonjour,

j'ai un tableau qui affiche les données d'une table
le problème est que chaque résultat est affiché 16 fois ce qui fait un spam intensif, une page longue de x Millions de pixels et un temps de génération de la page beaucoup trop important

Voici un extrait mon code, ou est le problème ? Merci d'avance

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
$GetIss = 'SELECT issuetask.idissue, issuetask.noissue, issuetask.close, issuetask.priority, issuetask.title, issuetask.datetimestart, user.name 
               FROM project, issuetask join user on issuetask.iduser = user.iduser 
               WHERE noproject LIKE "%'.$_GET["Keyword"].'%" 
               ORDER BY idissue';
 
$ResultGetIss = mysql_query($GetIss);
 
 
 
 
<table class="sorTableView">
    <thead>
        <tr>
            <th data-sort="string" class="userTdTitle" scope="col" width="15%">#Issue</th>
            <th data-sort="string" class="userTdTitle" scope="col" width="35%">Title</th>
            <th data-sort="string" class="userTdTitle" scope="col" width="25%">Client</th>
            <th data-sort="string" class="userTdTitle" scope="col" width="15%">Responsible</th>
            <th data-sort="int" class="userTdTitle" scope="col" width="10%">Priority</th>
        </tr>
     </thead>
 
     <tbody>
        <?PHP
            if ($_GET["Keyword"]=='')
            {
 
             }
             else while($ResultIss = mysql_fetch_array($ResultGetIss))
             {
               echo "<tr>";
 
               echo "<td class='userTd1'>"; ?>
               <a href="edittask.php?IDIssue=<?PHP echo $ResultIss["idissue"]; ?>"><?PHP
               echo $ResultPro["noproject"]."-".$ResultIss["noissue"]."</a>";
 
                echo "<td align='center' class='userTd1'>".$ResultIss["title"]."</td>";
 
                echo "<td align='center' class='userTd1'>";?>
                <a href="admin_client_info.php?IDClient=<?PHP echo $ResultPro["idclient"]; ?>">
                <?PHP echo $ResultPro["clientname"]."</a>";
                 echo "</td>";
 
                 echo "<td align='right'  class='userTd1'>".$ResultIss["title"]."</td>";
 
                 echo "<td align='right'  class='userTd1'>".$ResultPro["priority"]."</td>";
 
                 echo "</tr>";
                }
            ?>
    </tbody>
</table>
PS : aucune erreur est affichée il y a juste une generation a l'infini
Merci



[EDIT] J,ai maintenant l'erreur Fatal error: Maximum execution time of 30 seconds exceeded qui s'affiche (sans avoir touché au code)