Bonjour,
voila je ne trouve pas mes erreurs les W3C validaor trouve 5 erreur dans la boucles voila mon bout de code ou les erreurs se trouvent :
je me trompe peut etre de forum mais je ne suis pas sur
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 while ($row = mysql_fetch_array($result)) { if (!($backcol++ % 2)) { $col = ' bgcolor="#99FFFF"'; } else { $col = ""; } ?> <form action = "update.php" method ="GET"> <? echo "<tr>"; echo "<td $col align=center>".$row['tarif_entry']."</td>"; echo "<td $col align=center>"?><input type="text" size="3" name ="number" value="<? echo (htmlentities($row['number']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="5" name ="prefix" value="<? echo (htmlentities($row['prefix']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="10" name ="area" value="<? echo (htmlentities($row['area']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="10" name ="country" value="<? echo (htmlentities($row['country']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="10" name ="region" value="<? echo (htmlentities($row['region']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="8" name ="pricemin" value="<? echo (htmlentities($row['price_per_minute']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="4" name ="increment" value="<? echo (htmlentities($row['billing_increment']));?>"><? echo "</td>"; echo "<td $col align=center>"?><input type="text" size="5" name ="pricecall" value="<? echo (htmlentities($row['price_per_call']));?>"><? echo "</td>"; echo "<td $col align=center>"; ?> <input type="submit" value="Update"> <input type="hidden" name ="tarifentry" value="<? echo(htmlentities($row['tarif_entry']));?>"> <input type="hidden" name ="tarifcode" value="<? echo(htmlentities($tarifcode));?>"> <input type="hidden" name ="tarifvariant" value="<? echo(htmlentities($tarifvariant));?>"> <input type="hidden" name ="tarifcodevariant" value="<? echo(htmlentities($tarifcodevariant));?>"> <input type="hidden" name ="valid_from" value="<? echo(htmlentities($validf));?>"> <input type="hidden" name ="valid_until" value="<? echo(htmlentities($validu));?>"> <input type="hidden" name ="currency" value="<? echo(htmlentities($currency));?>"> <input type="hidden" name ="rounding" value="<? echo(htmlentities($rounding));?>"> </form> <form action="delete.php" method="GET"> <input type="submit" value='Delete'> <input type="hidden" name ="tarifentry" value="<? echo(htmlentities($row['tarif_entry']));?>"> <input type="hidden" name ="tarifcode" value="<? echo(htmlentities($tarifcode));?>"> <input type="hidden" name ="tarifvariant" value="<? echo(htmlentities($tarifvariant));?>"> <input type="hidden" name ="tarifcodevariant" value="<? echo(htmlentities($tarifcodevariant));?>"> <input type="hidden" name ="valid_from" value="<? echo(htmlentities($validf));?>"> <input type="hidden" name ="valid_until" value="<? echo(htmlentities($validu));?>"> <input type="hidden" name ="currency" value="<? echo(htmlentities($currency));?>"> <input type="hidden" name ="rounding" value="<? echo(htmlentities($rounding));?>"> </form> <? echo "</td>"; echo "</tr>"; }
Partager