PHP Associative Arrays
PHP Associative Arrays,Unlike Conventional Array Declaration . The Array is being assigned with a Key word instead of being automatic assign an index Number,
Below shows the Example Code For Associative array
- There is a person name Ah Seng , the assign Array Variable
- Inside the Array Variable it contains the Associative Array named -> Job & experience
<!DOCTYPE html> <html> <body> <?php $ahSeng= array( "Job"=>"Programmer", "Experience"=>"11" ); echo $ahSeng["Experience"]; ?> </body> </html>