Refresh page on POST
6 posts by 3 authors in: Forums > CMS Builder
Last Post: October 2, 2013 (RSS)
By nmsinc - October 1, 2013
I have a page with a form that posts data to a file then reloads the page. The page also lists the data that was posted - the problem is the page must be refreshed after each post to view the data. Is there a way to code the page so that a refresh in not required?
Thanks - NMSINC
By Jason - October 1, 2013
Hi
The easiest approach here would be to put the code that creates/updates a record before the code that retrieves the records you want to display. That way all the data that was posted would be automatically reflected in your list.
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By nmsinc - October 1, 2013
I Hi Jason,
I have the "set' code above the header and the form and 'post' below the 'get' and list and still having same issue!
Thanks - nmsinc
By Jason - October 1, 2013
Hi,
Can you attach the .php page you are currently working on so I can have a closer look at the code? Thanks
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By nmsinc - October 1, 2013
This is a secure form - can you provide email address to send copy?
Thanks
Ray - nmsinc
By Damon - October 2, 2013
Hi Ray,
Can you attach the file and email it to support@interactivetools.com?
Also add a link to this form post in the email:
http://www.interactivetools.com/forum/forum-posts.php?Refresh-page-on-POST-79045
Thanks!
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/