驗證消息接取餘萬塔訪問直接[0] => Please enter only spaecial characters.
,而不for循環
[0] =>不能輸入多於1個字符
。這個驗證消息,但沒有foreach循環。我的演示代碼是..
Array
(
[CodeConfiguration] => Array
(
[0] => Array
(
[SeriesConcateCharacter] => Array
(
[0] => Please enter only spaecial characters.
)
[NumberPaddingCharacter] => Array
(
[0] => You cannot enter more than 1 character.
)
)
)
)
所以請建議適當的解決方案。
[ 'CodeConfiguration'] [0] [ 'SeriesConcateCharacter'] [0] – MyMomSaysIamSpecial
欲沒有任何for-each循環來訪問驗證消息?? – Amit
http://www.php.net/manual/en/language.types.array.php – MyMomSaysIamSpecial