Download presentation

Presentation is loading. Please wait.

Published byMateo Strong Modified over 3 years ago

1
Specifying with Array () : - It takes a Certain number of comma – Seprated key => value pairs. Syntax : array( [ key => ] value ……. )

5
$new2) { print “Keys [“.$new1.”]”. “ value ”.$new2. “ ”; } ?>

6
Example 1 : $ages = array(“Viral “ => 10, ”Meet” => 20, “Swat” =>30 );

7
Example 2 : $ages [ ‘viral’ ] = “20 “; $ages [ ‘vijay’ ] = “25 “; $ages [ ‘Meet’ ] = “30 “; ~> Id Keys can be used in a Script :

8
Example 3 :

9
Example 4 : 34, “Two”=>50, 70.62, “Hello”=>”viral”); Foreach( $ar as $new1 => $new2 ) { print $new1.”=>”. $new2.” ”; } ?>

Similar presentations

OK

Bell Schedules 2014-2015. Club Time is available from 8:05-8:20 1 st 8:20 – 9:15 2 nd 9:20 – 10:10 3 rd 10:15 – 11:05 4 th 11:10 – 12:50 A(11:10)

Bell Schedules 2014-2015. Club Time is available from 8:05-8:20 1 st 8:20 – 9:15 2 nd 9:20 – 10:10 3 rd 10:15 – 11:05 4 th 11:10 – 12:50 A(11:10)

© 2018 SlidePlayer.com Inc.

All rights reserved.

To ensure the functioning of the site, we use **cookies**. We share information about your activities on the site with our partners and Google partners: social networks and companies engaged in advertising and web analytics. For more information, see the Privacy Policy and Google Privacy & Terms.
Your consent to our cookies if you continue to use this website.

Ads by Google

Ppt on brand marketing jobs Ppt on west central railway Ppt on power generation by speed breaker design Free ppt on brain machine interface circuits Training ppt on soft skills Ppt on tsunami and earthquake Ppt on abo blood grouping principle Ppt on retail industry in india Ppt on statistics and probability pdf A ppt on waste management