Skip to content

sherrimoreno/Associative-arrays-in-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Associative-arrays-in-PHP

Associative arrays in PHP

2000, "manh" => 1000, "huong" => 500); echo "Employee's salary is ". $luong_nhan_vien['hoang'] . "
"; echo "Employee's salary is ". $luong_nhan_vien['manh']. "
"; echo "Employee's salary is ". $luong_nhan_vien['huong']. "
"; /* Second method to create associative arrays. */ $luong_nhan_vien['hoang'] = "high"; $luong_nhan_vien['manh'] = "medium"; $luong_nhan_vien['huong'] = "low"; echo "The salary of the wild employee is ". $luong_nhan_vien['hoang'] . "
"; echo "Employee's salary is ". $luong_nhan_vien['manh']. "
"; echo "Employee salary is ". $luong_nhan_vien['huong']. "
"; ?>

About

Associative arrays in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published