noalyss
Version-9
html
array.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of NOALYSS.
5
*
6
* NOALYSS is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* NOALYSS is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with NOALYSS; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
21
// Copyright Author Dany De Bontridder danydb@aevalys.eu
22
23
$array
=
''
;
24
$array
[
'fd_id'
][]=
"Test1"
;
25
$array
[
'fd_id'
][]=
"Test2"
;
26
$array
[
'fd_id'
][]=
"Test3"
;
27
$array
[
'fd_id'
][]=
"Test4"
;
28
$array
[
'fd_id'
][]=
"Test5"
;
29
$array
[
'fd_id'
][]=
"Test6"
;
30
$array
[
'fd_id'
][]=
"Test7"
;
31
var_dump(
$array
);
32
echo
'<hr>'
;
33
$array
=array_key(array_value(
$array
));
34
$p
=
$array
[
'fd_id'
];
35
var_dump(
$p
);
36
echo array_value(
$p
);
37
38
?>
39
$p
$p
Definition:
array.php:34
$array
$array
Definition:
array.php:23