javascript - Providing Feedback After a Php Header Redirect -


i have html table in application written javascript (and jquery) , php. contents of table stored in mysql table.

when want user add data table, click button , jquery ui dialog shown, form user fill out.

when user fills out form, click save, , form submitted page of pure php, saves data table , redirects original page table on, using

$url = base_url . '/admin/pages/finance/pricing/pricing_schedule.php';  header('location: '.$url);      //redirect right page  exit();      

i doing because don't want message:

confirm form resubmission - page you're looking used information entered. returning page might cause action took repeated. want continue?

to show should user hit refresh whatever reason.

however, because of way doing this, struggling provide way give feedback user should save unsuccessful.

when user hits save in jquery ui dialog box, box close when form submitted, can't provide feedback there because error hasn't occurred yet.

when in php page, redirect original page table on, errors picked lost.

can offer suggestions?

you store errors in $_session variable , print them out on redirected page.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -