That wasn't a very clear post. I was having a sql insert error when the edited data had quotes (single or double) in it. Think I got it working now. I used - pulling from the db html_entity_decode($edit_info) - pushing to the database I used urlencode(stripslashes($edit_info))
It works - might not be the best but little of my code probably is. If you know of better way I am sure open to hear.
Thanks