开发者

HTML action redirect with GET values

开发者 https://www.devze.com 2023-01-27 17:48 出处:网络
Hey, Im trying to use a HTML form to send user info to PHP the problem is, it dosent redirect with GET info:

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

精彩评论

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

关注公众号