DMXzone Database Updater PHP Support Product Page

Solved

Value entered is ARRAY

Reported 11 years ago
1
has this problem
11 years ago jeff Napadow posted:
When I edit or insert a new record why do my values change to Array?
below is my page.
Thanks

invest.midamericagrp.com/properties/

Replies

Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello Jeff,

Bot of your update fields and insert fields have same name and id properties, so when clicking "insert" the executor is confused and it is trying to send to the database both of the fields having the id/name "Name" or "Address" etc..
Please use different name/id attributes for your insert and update fields, when they are on the same page. For example:

<input id="InsertName" type="text" placeholder="Name" name="InsertName">

and

<input id="UpdateName" type="text" placeholder="Name" name="UpdateName">


Replied 11 years ago
11 years ago jeff Napadow replied:
BINGO!! Thank you very much!

Reply to this topic