Thread
:
Ace Learning PHP Topic !
View Single Post
07-16-2005, 05:37 PM
#
6
Aros
Status:
Lurker
Join date:
Jul 2004
Location:
the Netherlands
Expertise:
Software:
Posts:
1,074
iTrader:
2
/ 100%
Originally Posted by
Muhammad Haris
Can't understand this bit of code
PHP Code:
foreach (
$capital
as
$k
=>
$v
)
{
if(
$country
==
$k
)
{
echo
"The Capital of "
.
$k
.
" is "
.
$v
;
}
}
explain more !
www.php.net
should answer your questions about functions.
Aros
View Public Profile
Visit Aros's homepage!
Find More Posts by Aros