I am having trouble storing array contents in mysql I am using the code below
foreach($found_entry as $key => $sd) {
echo \"$key => $sd
Inserting data into MySQL
In your code you are performing an insert for every field.
However, in most cases you know the field names before hand and so you can do a single INSERT with all of the fields.
$sql = 'INSERT INTO tbl_name (field_a,field_b,field_c) VALUES('.$found_entry['field_a'].','.$found_entry['field_b'].','.$found_entry['field_c'].');';
This cuts down on the number of queries required and so makes your code run faster and use less resources.
Default values
You can pass NULL when a value is not known and the DB should insert a default value.