⚠ 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 forum is read-only and soon will be archived. ⚠


Quotes

quotes field_type enum

  • Please log in to reply
No replies to this topic

#1 marc

marc

    Newbie

  • Members
  • Pip
  • 8 posts

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 !







Also tagged with one or more of these keywords: quotes, field_type, enum

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users