Compare commits

...

1 Commits

Author SHA1 Message Date
ddb17cc473 add enctypy 2024-09-10 11:41:16 +03:00

View File

@ -31,9 +31,9 @@ class ActiveForm
* @param string $action * @param string $action
* @return void * @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'>";
} }
/** /**