私のhtmlフォームは次のとおりです。
<form id="myform" action="" method="post" >
<input id="firstname" name="firstname" type="text" placeholder="FIRST NAME" autofocus><br>
<input id="lastname" name="lastname" type="text" placeholder="LAST NAME"><br>
<input id="gender" name="gender" type="text" placeholder="GENDER" ><br>
<input id="email" name="email" type="email" placeholder="EMAIL"><br>
<input id="date" name="date" type="date" placeholder="JOINING DATE" ><br>
<input id="designation" name="designation" type="text" placeholder="DESIGNATION"><br>
<input id="username" name="username" type="text" placeholder="USER NAME" ><br>
<input id="password1" name="password1" type="password" placeholder="PASSWORD" ><br>
<input id="password2" name="password2" type="password" placeholder="CONFORM PASSWORD" ><br>
<input type="button" id="submit" value="SUBMIT" />
</form>
このプログラムでは、検証に ajax を使用しています。そのために、フォームをシリアル化しています。
data:$("#myform").serialize(),
PHPでデシリアライズする方法がわかりません。PHPで逆シリアル化するコードを説明できる人はいますか?フォームの作成にhtml5を使用しました。