ho $_POST array così composto:
Array ( [docric] => 1 [pippo] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 ) )
scrivendo :
echo 'num rig: '.$_POST[pippo][2];
ottengo :
num rig: 3 COrretto!
se scrivo
echo " select * from tabella where campo='$_POST[pippo][2]' ";
ottengo :
select * from tabella where campo=Array[2] sbagliato !
come mai!? c'è qualcuno che sa aiutarmi in questo?!
![]()