{"code":"MethodNotAllowedError","message":"POST is not allowed"}
Hi guys,
When I test the form and click "login", I get this:
{"code":"MethodNotAllowedError","message":"POST is not allowed"}
*******************************************************
// index.php
<?php
$name = $_POST["name"];
$password = $_POST["password"];
$result = loginUser($name, $password);
echo $result;
?>
// .html
<form action="index.php" method="POST">
<input type="text" name="name" >
<input type="text" name="password" >
<input type="submit" value="Login" />
<form>
************************************************
Dreamweaver geniuses, can you help me please~
