[PHP-BUG] Bug #79196 [NEW]: Problem with returning data when using bootstrap-3-typeahead

"florencelehr at cnetmail dot net"<[email protected]>
Newsgroups gmane.comp.php.quality-assurance
Message-ID <[email protected]>
From:             florencelehr at cnetmail dot net
Operating system: Mac
PHP version:      7.4.2
Package:          Testing related
Bug Type:         Bug
Bug description:Problem with returning data when using bootstrap-3-typeahead

Description:
------------
I have a function in which there is a call to the database - a query in
which several fields are returned. When I debug a piece of code in which
rows from a database with several fields are returned, then I see rows
from a database with several fields. Then the code transfers these lines
to the front-end part, which is processed using bootstrap-3-typeahead.
Lines with only one field come to the block on the front end - with the
first field. Can this problem be caused by some prescribed function in
the bootstrap-3-typeahead package itself, or is it my mistake?

Actual result:
--------------
On the backend returns:

Name / surname / position / company for which it works / company website
/ salary

Carl / cross / dental surgeon / big apple / big apple .com / 1.000
Colleen / simonsen / scientist / stm auto parts / stm auto parts .com /
9.000
Jason / curtiss / postsecondary career-technical teacher / big apple /
big apple .com / 42.000
Gregory / johnson / college essay writer / college essay writing help
company / https://bit.ly/2RGBDJY /33.000
Lara / montgomery / postsecondary career-technical teacher / hanover
shoe / hanover shoe .com / 12.000
Glen / bassett / dental surgeon / hanover shoe / hanover shoe .com
/22.000
William / williams / computer control operator / stm auto parts / stm
auto parts .co / 12.000
Bradley / leon / entomologist / mikro designs / mikro designs . com /
12.000
 
And on the frontend this is inserted:

Carl
Colleen
Jason
Gregory
Lara
Glen
William
Bradley

-- 
Edit bug report at https://bugs.php.net/bug.php?id=79196&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=79196&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=79196&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=79196&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=79196&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=79196&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=79196&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=79196&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=79196&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=79196&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=79196&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79196&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=79196&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=79196&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=79196&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=79196&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=79196&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=79196&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.