开发者

Submit form twice or refresh two times

Hi I am using php and i want to submit form on onclick event of radio button. when form submission is done, than after I want to reload my page.

Means first form is submitted and after form submit I want to reload my page aga开发者_JS百科in.

Is it possible?

I have tried it with javascript but not get any idea how to do it..

Thanks in advance.


header('Location: http://url.to/reload');
exit;

Make sure to do this before any output on that page otherwise you'll get an error about headers already having been sent.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜