I want to load this following html data and pass email and password to this $credential using post method,I don't know how to load this data in webview android ,any idea please share me,the code are
$return_to = "https://exmaple.support.com/support/index.php?/Base/User/Login";
echo "<html><body>";
echo "<form action=\"$return_to\" id=\"kRedir\" method=\"post\">";
foreach ($credentials as $key => $value) {
echo "<input type=\"hidden\" id=\"$key\" name=\"$key\" value=\"$value\" /> ";
}
echo "</form>";
echo "<sc ript>document.forms[0].submit();</sc ript>";
echo "</body></html>";