récupération de la valeur d'un select
Bjr,
je suis dans un page php avec un champ select
Code:
1 2 3 4 5 6 7 8 9 10
|
<form name="huitième" method="post" action="quart.php" onsubmit="return verification_huitieme();">
<table border="1" cellspacing="0" align="center">
<tr>
<?php
print("<td width='85' align='center'> {$_SESSION['groupeA_1']} </td>");
?>
<td><select name="8_1a" size="1"><option value="-">-</option><option value="0">0</select></td>
<td width='85' align='center'> </td> |
lorsque je suis dans la page quart.php, je veux récupérer la valeur de mon champs sélect
Code:
1 2 3 4 5 6 7
|
<?php
session_start();
?>
<?php
$8_1a = $_POST['8_1a'];
$8_2a = $_POST['8_2a']; |
J'ai le message d'erreur suivant :
parse error : expecting T_variable or $
Merci de votre aide.