开发者

Problems submitting form in hosting provider

I uploaded a form to my serve开发者_JS百科r. but no values are posted. which means the form isnt submitting . Ive run the same script in my local machine and it works perfectly.

ive been in web development for a year now and i've never seen a problem quite like this one.

The form is just a simple one (plain html too with php to check the posted variables) so it shouldve worked.


Try this code.

<form name="frm" id="frm" action="" method="post" enctype="application/x-www-form-urlencoded">
elements....
</form>


for some browser have to set action, use something like this:

<form action='process_form.php' method='post'>
elements....
</form>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜