Home › Forums › Quform PHP › Select Concatanating Options
Hi,
I have the single select element and it looks fine from a UI point of view. However, whenever an option is selected that has a space in it, the entry in the database is concatanated/truncated at the space, so only the first word is stored.
Any ideas?
Might it be something to do with this:
$columns = implode(“, “, array_keys($data)); $values = array_map(array($db, ‘real_escape_string’), array_values($data)); $values = implode(“‘, ‘”, $values);
The table in the DB is fine, ie there is room for the whole string etc.
Thanks.
(eg if user choose “starter kit” from dropdown, the database stores “starter”)
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.