# & in a company name, can't be found in Contact \> Company field

**URL:** <https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353>\
**Category:** Product Support\
**Created:** [December 8, 2022, 4:36pm UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353 "2022-12-08T16:36:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjfa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mjfa/32/8118_2.png) [@mjfa](https://forum.mautic.org/u/mjfa)\
**Post date:** [December 8, 2022, 4:36pm UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353/1 "2022-12-08T16:36:08Z")

</div>

**Your software**  
My Mautic version is: 4.4.5  
My PHP version is: 7.4.33  
My Database type and version is: 10.3.28-MariaDB

**Your problem**  
My problem is: Adding a company to a contact with an ‘&’ in the company name, the company name can not be found, is it the ‘&’ part of the search string?

You can type ‘W’ then the & stops it, it’s in the ‘Contact’, works okay on search in the companies.

‘W&G Limited’

![Search in Contact](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/33a6293994dd81429759f3a2f8230d9e5a8e5ab4.jpeg)

These errors are showing in the log:

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 9, 2022, 8:08am UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353/2 "2022-12-09T08:08:48Z")

</div>

Hi, can you check how it’s encoded in your DB?  
You have to look into the `campianies` table `comanyname` column.  
Is ampersand or a different string?

---

<div class="post-metadata">

**Author:** ![mjfa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mjfa/32/8118_2.png) [@mjfa](https://forum.mautic.org/u/mjfa)\
**Post date:** [December 9, 2022, 10:14am UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353/3 "2022-12-09T10:14:23Z")

</div>

![DB String](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/195a687b14a3d6ffdced682fb5679d51aa17e9ce.jpeg)  
DOes this answer the question?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 9, 2022, 10:49am UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353/4 "2022-12-09T10:49:09Z")

</div>

50% 😃  
You answered my next question 😃  
What I meant is, can you check how the company name is stored in the DB.  
Is it:  
W%26G  
or  
something else

---

<div class="post-metadata">

**Author:** ![mjfa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mjfa/32/8118_2.png) [@mjfa](https://forum.mautic.org/u/mjfa)\
**Post date:** [December 9, 2022, 11:05am UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353/5 "2022-12-09T11:05:52Z")

</div>

Got you, not it’s stored at ‘W&G’ then the rest of the name.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 9, 2022, 11:09am UTC](https://forum.mautic.org/t/in-a-company-name-cant-be-found-in-contact-company-field/26353/6 "2022-12-09T11:09:37Z")

</div>

Ok thx.  
Maybe you wanna create an issue in github?

> **[Issues · mautic/mautic](https://github.com/mautic/mautic/issues)**
>
> Mautic: Open Source Marketing Automation Software. - Issues · mautic/mautic
