I am having trouble storing array contents in mysql I am using the code below
foreach($found_entry as $key => $sd) {
echo \"$key => $sd
If I use $sd[0], only the first character is getting displayed.
$sd is the value (e.g. "ST10928") of your array, but you're treating the value as an array itself, so $sd[0] must return only the first element (= letter).
If you're trying to insert values from your array into the database (instead of iterating through the array and slicing the values), maybe you should use $found_entry[0] instead of $sd[0] and $found_entry[11] for $sd[11] ??