DMXzone Database Updater PHP Support Product Page

How to update a single record

Asked 04 Apr 2018 09:46:22
1
has this question
04 Apr 2018 09:46:22 Greg Hogan posted:
I have followed the update tutorial but this displays a list of records and a form to update selected items in the list.

I can't find any tutorials or guidance on just updating a single record.

What I need to do is retrieve a single record using an id passed from another page, populate a simple form then update this one record.

I almost have this working, but I can't get the query to use a URL var for the lookup id value. It works if I use a fixed value for record id.

I set a $_GET global var and tried using this as a filter, but I get no result.

Is there some documentation on how to do this please?

thanks

Greg

Replies

Replied 04 Apr 2018 12:00:28
04 Apr 2018 12:00:28 Greg Hogan replied:
I managed to resolve this.

As well as the global var, I needed to create a URL data binding and then link it in the Input Data tab.

There really should be some simpler tutorials that explain all the necessary areas that must be set up to do basic stuff.

The old server behavours are easy to understand and manipulate.

Reply to this topic