Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
ddb17cc473 |
@ -31,9 +31,9 @@ class ActiveForm
|
||||
* @param string $action
|
||||
* @return void
|
||||
*/
|
||||
public function beginForm(string $action): void
|
||||
public function beginForm(string $action, string $enctype = 'application/x-www-form-urlencoded'): void
|
||||
{
|
||||
echo "<form method='POST' action='$action'>";
|
||||
echo "<form method='POST' action='$action' enctype='$enctype'>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user