DMXzone Database Updater PHP Support Product Page

Solved

Value entered is ARRAY

Reported 06 Nov 2013 23:06:03
1
has this problem
06 Nov 2013 23:06:03 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 07 Nov 2013 09:18:07
07 Nov 2013 09:18:07 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 07 Nov 2013 14:40:46
07 Nov 2013 14:40:46 jeff Napadow replied:
BINGO!! Thank you very much!

Reply to this topic