⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Quotes



marc

marc
  • profile picture
  • Member

Posted 09 January 2019 - 08:36 AM

Hi everone,

 

I've a problem with a field.

 

in my controller :

$crud->field_type('plateforme', 'enum', $liste);

$liste is an array which contains a list of sentences, some of which contain apostrophes / quotes.

 

In my add form, the select is ok, all sentences are well-formed.

 

BUT, they are truncated at the first apostrophe when are inserted

 

Someone can help me ? ;O)

 

Thanks !