I have this from my print_r
Array
(
[jform] => Array
(
[itinerary] => Array
(
[0] => 1
[1] => 2
)
)
)
I have some code and then this bit
foreach($_POST as $value) {
$extraDATA[] = $value;
}
$extraDATA = implode(',',$extraDATA);
$updatEntry="UPDATE #__tours SET itinerary='$extraDATA' WHERE id='$id'";
$db->setQuery($updatEntry);
$db->query();
I can not get that array to produce 1,2 so i can update the row.
Cheers in advance Jonny