bonjour,
J'aimerais crée un type de phpmyadmin fait maison....seulement sur une base
Pour cela, j'ai crée interface graphique dans un tableau avec image et mes champs
Mon problème est comment je pourrais au click sur image pouvoir supprimer ou modifié les champs de ma table?
merci de votre aide
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 <?php echo ("<div style=color:#FFFFFF;>"); include('table.php'); echo("<table border='1' cellspacing='0' cellpadding='0' width='100%' height='100%'>"); $req="SELECT * FROM $table WHERE num!=1 "; $req=stripSlashes($req); $result = mysql_query($req); for ($i = 0; $i < mysql_num_rows($result); $i++) { $tbl_ligne = mysql_fetch_row($result); echo("<tr><td><img src=\"img_principal/b_edit.gif\"></td><td> $tbl_ligne[0] </td><td> $tbl_ligne[1] </td><td> $tbl_ligne[2] </td><td> $tbl_ligne[3] </td><td> $tbl_ligne[4]</td><td></tr>"); } echo("</table>\n"); echo ("</div>"); ?>
Partager