我有以下數組,我想檢索name
,comment
和each of the tags
(在數據庫中插入。我如何檢索數組值。另外,我可以只篩選大於3個字符,並且只包含一個-Z0-9 valueus。非常感謝你。PHP如何檢索數組值
Array
(
[folder] => /test
[name] => ajay
[comment] => hello world.. test comment
[item] => Array
(
[tags] => Array
(
[0] => javascript
[1] => coldfusion
)
)
)
參見[ PHP手冊](http://de2.php.net/manual/en/language.types.array.php)瞭解如何訪問數組值。過濾可以通過[regex]完成(http://de2.php.net/manual/en/book.pcre.php) – feeela 2011-04-06 15:32:18
你應該查看我提出的問題,我已經問過關於這個主題的負載以及它可以如何處理不同的情況使用。 – Xavier 2011-04-06 15:34:58