Home > Backend Development > PHP Tutorial > php中数组提取请问

php中数组提取请问

WBOY
Release: 2016-06-13 13:27:37
Original
784 people have browsed it

php中数组提取请教

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
array (
  0 => 
  array (
    'url' => '视频地址一.flv',
    'alt' => '第一集',
    'p' => '1',
  ),
  1 => 
  array (
    'url' => '视频地址二.flv',
    'alt' => '第一集',
    'p' => '2',
  ),
)

Copy after login

我有这么一堆的数组,内容如上,想请教各位同学。我该如何提取 参数等于:视频地址一.flv 这样的值,php中。要如何编写?谢谢

------解决方案--------------------
arr[0]['url']
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template