php foreach loop on array containing double quotes
I am trying to use an editable table and have it working except for when the array values passed to the save function contain double quotes.  The error occurs at foreach loop

    foreach($saveArray as $rowId=>$row) {

It is the values (not keys) which may contain double quotes, the actual error being:

    Warning: Invalid argument supplied for foreach()

What is the best way around this, some way to escape them, change them to the &quot code, change the way the loop works?
php foreach loop on array containing double quotes
===

I am trying to use an editable table and have it working except for when the array values passed to the save function contain double quotes.  The error occurs at foreach loop

    foreach($saveArray as $rowId=>$row) {

It is the values (not keys) which may contain double quotes, the actual error being:

    Warning: Invalid argument supplied for foreach()

What is the best way around this, some way to escape them, change them to the &quot code, change the way the loop works?