se faccio il var_dump esce questo:
se provo a fare come hai detto tu funziona!Codice PHP:
array (size=1)
0 =>
array (size=6)
0 => string '1' (length=1)
'post_id' => string '1' (length=1)
1 => string 'post' (length=4)
'type' => string 'post' (length=4)
2 => string 'k-on' (length=4)
'tag' => string 'k-on' (length=4)
ma perchè deve esserci quel "[0]"? Non si può levare in qualche modo?Codice PHP:
echo $result[0]['post_id'];
Comunque grazie!