Menu
Hey There,
I am trying to use mulitpal checkbox enteries into my database. I create an array called $creditTypesa and it works just find. On the processing page I use a loop like this.
foreach($creditTypesa as $val){
$creditTypes = “$val”;
echo $creditTypes;
}
It shows the array and works just fine. When I Insert $creditTypes into the database it is only giving me the last checkbox entery and not the array of them. Makes no sense how the loop works when echoin but not when inserting.
PLEASE HELP