Tp- automatically validates the return value?

if both pieces of data are wrong in automatic verification, how do I return two error messages?

Mar.22,2021

can be customized and are thrown sequentially in automatic validation.


by default, once the verification rules of a certain data are not met, the verification of subsequent data and rules will be stopped. If you want batch verification, you can set batch verification
batch verification. There are many ways to do batch verification.

$data = input('post.');
$validate = new app\common\validate\User();
$result = $validate->batch()->check($data);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e47165-44c06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e47165-44c06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?