, The page selects the form to pass the value to the PHP background, and then the processed data is returned to the foreground page through smarty. At this time, the foreground page has been refreshed, how can I continue to select the selected status and traverse the following Qualified Data? This can be achieved without AJAX...
, The page selects the form to pass the value to the PHP background, and then the processed data is returned to the foreground page through smarty. At this time, the foreground page has been refreshed, how can I continue to select the selected status and traverse the following Qualified Data?
Can AJAX be used to achieve this effect?
After thinking for a long time, it seems that AJAX is not needed, but the ability is limited, the specific failure to get out, hope the high people give pointers.
Reply content:
, The page selects the form to pass the value to the PHP background, and then the processed data is returned to the foreground page through smarty. At this time, the foreground page has been refreshed, how can I continue to select the selected status and traverse the following Qualified Data?
Can AJAX be used to achieve this effect?
After thinking for a long time, it seems that AJAX is not needed, but the ability is limited, the specific failure to get out, hope the high people give pointers.
Exist in cookie
GET these values in the background (whether GET or POST), then assign the assign to smarty, and finally obtain the next echo in the smarty template. Where are your doubts?
In addition, such data is not recommended for personal cookie or session
After passing parameters through the url, the backend obtains the parameters and the front-end determines the echo. We do not recommend storing cookies.