DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php foreach array
$arr
=
array
(
1
,
2
,
3
)
;
foreach
(
$arr
as
$key
=>
$value
)
{
echo
"
{
$key
}
=>
{
$value
}
"
;
}
PREVIOUS
NEXT
Tagged:
#php
#foreach
#array
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit