开发者

HTML action redirect with GET values

Hey, Im trying to use a HTML form to send user info to PHP the problem is, it dosent redirect with GET info:

<form action="register.php?task=add" method="post">
    Username: <input type="text" name="username" id="username"/><br />
    Password: <input type="password" name="password" id="password"/><br />
    Password Check: <input type="password" name="password_check" id="password_check"/><br />
    E-mail: <input type="text" name="email" /><br />
<input type="submit" value="Submit" />

I think this might be because i have the method set to POST. Is there anywa开发者_StackOverflow中文版y i can fix this? Thanks!


You could set the method to "GET".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜