DMXzone Database Updater PHP Support Product Page

Answered

Update Record on Page Load

Asked 25 Jan 2014 00:29:13
1
has this question
25 Jan 2014 00:29:13 Brad Lawryk posted:
Is it possible to update a database record on page load? Basically I need to set up a counter ... each time a page loads I need to add 1 to the current count.

Replies

Replied 25 Jan 2014 01:17:59
25 Jan 2014 01:17:59 Teodor Kuduschiev replied:
Hi Brad,
You can run the database updater update executor on page load. You need to attach it to body, using the onload event.
Replied 25 Jan 2014 03:19:03
25 Jan 2014 03:19:03 Brad Lawryk replied:
Thanks Teodor,

I figured that would likely be the way ... just trying to figure out how to add to the current value at the moment.

Thanks for the great support you guys offer.

Reply to this topic