表单操作方法正在重定向

时间:2019-04-18 19:32:27

标签: php html sql

我正在使用wamp服务器将php连接到我的oracle sql。 我希望表单将我带到操作方法中的指定链接

new

相反,它带我去了->

<form action="localhost/registration.php" method="get" >

我只想要这部分

file:///D:/wamp/www/localhost/registration.php?username=saad&password=saad&submit=Submit

那么,如何解决呢?

1 个答案:

答案 0 :(得分:0)

尝试在链接前面添加http://,如下所示:

<form action="http://localhost/registration.php" method="get" >