Philip
I am looping check box using this on my php script..
when i am try to access Discard using $_POST i get empty variable.. -.-"
like this
or like this
but i get the variable when used this, but it seem no security.
what should i do ? thanks for all kind of help...
| Code: |
| while($row=mysql_fetch_array($query))
{ $i++; echo ' <tr> <td><input type="checkbox" name="Discard['.$i.']" ></td> </tr>'; } |
when i am try to access Discard using $_POST i get empty variable.. -.-"
like this
| Code: |
| echo "Hasil = ".$_POST["Discard[1]"]; |
or like this
| Code: |
|
$i=1; echo "Hasil = ".$_POST["Discard[".$i."]"]; |
but i get the variable when used this, but it seem no security.
| Code: |
|
$i=1; echo "Hasil = ".$Discard[1]; |
what should i do ? thanks for all kind of help...
