Bonsoir a tous
Novice, j'aimerais savoir comment utiliser mysql pour extraire des données d'un tableau HTML.
Ce tableau, me permet de gérer ma collection.
en voici un bout de code source
autre question si l'on peut extraire des données, peut on a l'inverse se servir de Mysql pour le compléter
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99 <html> <body bgcolor="#FFFFCC"> <table border="1" width="100%" bordercolor="#FFCC00" cellspacing="0"> <tr> <td width="58" height="39"> <p align="center">Visuel</td> <td height="39" width="155"> <p align="center">Noms</td> <td height="39"> <p align="center">Descriptif</td> <td width="62" align="center" height="39">Variante</td> <td width="66" align="center" height="39">Présent collection</td> <td width="52" align="center" height="39">Etat</td> <td width="63" align="center" height="39">Référencé</td> <td width="64" align="center" height="39">Page Lambert</td> <td width="38" align="center" height="39">Cotes</td> </tr> <tr> <td width="58" rowspan="3" bordercolor="#FFCC00" height="4"> <p align="center"> <font size="2"> <img border="0" src="a1.jpg" width="54" height="54"></font></td> <td width="155" height="12" bordercolor="#FFCC00" rowspan="3"><font size="2">ABELE</font></td> <td height="4" bordercolor="#FFCC00"><font size="2">N°1 écriture blanche</font></td> <td width="62" align="center" height="4" bordercolor="#FFCC00">1</td> <td width="66" align="center" height="4" bordercolor="#FFCC00">1</td> <td width="52" align="center" height="4" bordercolor="#FFCC00">bon</td> <td width="63" align="center" height="4" bordercolor="#FFCC00">oui</td> <td width="64" align="center" height="4" bordercolor="#FFCC00"><font size="2">69</font></td> <td width="38" align="center" height="4" bordercolor="#FFCC00"><font size="2">2</font></td> </tr> <tr> <td height="4" bordercolor="#FFCC00"><font size="2">N°1 écriture Or</font></td> <td width="62" align="center" height="4" bordercolor="#FFCC00">0</td> <td width="66" align="center" height="4" bordercolor="#FFCC00">2</td> <td width="52" align="center" height="4" bordercolor="#FFCC00">moyen</td> <td width="63" align="center" height="4" bordercolor="#FFCC00">oui</td> <td width="64" align="center" height="4" bordercolor="#FFCC00"><font size="2">69</font></td> <td width="38" align="center" height="4" bordercolor="#FFCC00"> <font size="2">4</font></td> </tr> <tr> <td height="4" bordercolor="#FFCC00"><font size="2">N°1 imprimée au verso 1757 (visuel de la N°17)</font></td> <td width="62" align="center" height="4" bordercolor="#FFCC00">0</td> <td width="66" align="center" height="4" bordercolor="#FFCC00">1</td> <td width="52" align="center" height="4" bordercolor="#FFCC00">bon</td> <td width="63" align="center" height="4" bordercolor="#FFCC00">oui</td> <td width="64" align="center" height="4" bordercolor="#FFCC00"><font size="2">69</font></td> <td width="38" align="center" height="4" bordercolor="#FFCC00"> <font size="2">22</font></td> </tr> <tr> <td width="58" height="12" rowspan="3"></td> <td width="155" height="12" rowspan="3"><font size="2">ABELE</font></td> <td height="4"><font size="2">N°2 écriture blanche</font></td> <td width="62" align="center" height="4">0</td> <td width="66" align="center" height="4">0</td> <td width="52" align="center" height="4"></td> <td width="63" align="center" height="4">oui</td> <td width="64" align="center" height="4"><font size="2">69</font></td> <td width="38" align="center" height="4"><font size="2">2</font></td> </tr> <tr> <td height="4"><font size="2">N°2 écriture Or</font></td> <td width="62" align="center" height="4">0</td> <td width="66" align="center" height="4">0</td> <td width="52" align="center" height="4"></td> <td width="63" align="center" height="4">oui</td> <td width="64" align="center" height="4"><font size="2">69</font></td> <td width="38" align="center" height="4"><font size="2">4</font></td> </tr> <tr> <td height="4"><font size="2">N°2 imprimée au verso 1757 (visuel de la N°17)</font></td> <td width="62" align="center" height="4">0</td> <td width="66" align="center" height="4">0</td> <td width="52" align="center" height="4"></td> <td width="63" align="center" height="4">oui</td> <td width="64" align="center" height="4"><font size="2">69</font></td> <td width="38" align="center" height="4"><font size="2">22</font></td> </tr> </table> </body> </html>
n'ayant pas trouver de réponses concrètes sur les différents blogs, forums ou autres lien sur le net, parlants du Php et de Mysql.
je fait appel a toutes vos connaissances en la matière, qui me seront d'un grand recours pour la mise en place de ce que je souhaite faire pour la gestion de ma collection.
Dans l'attente d'une réponse, je vous remercie par avance.
Eric
Partager