Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
47 views
Phppaper2 Merged
Phppaper
Uploaded by
jatavravi3653
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save phppaper2_merged (1) For Later
Download
Save
Save phppaper2_merged (1) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
47 views
Phppaper2 Merged
Phppaper
Uploaded by
jatavravi3653
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save phppaper2_merged (1) For Later
Carousel Previous
Carousel Next
Save
Save phppaper2_merged (1) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 46
Search
Fullscreen
b) | Explain Indexed array and associat examples. Ans, | © Inindexed arrays the value is accessed using indexes 0,1,2 et. = ‘These types of arrays can be used to store any type of el ve arrays with suitable | 4M nts, but an index is always a number. By default, the index starts at | sxplanation zero. These arrays can be created in two different ways as shown | of each array in the following with suitable = Array initialization ‘example 2M First method Scolors = array("Red", "Green", "Blue"); Second method Scolors[0] = "Rei Scolors{1] = "Gree Scolors{2] = "Blue"; Example: 95, "Physics'=>90, “Computer"=>98): Second method to create an associate array. Sstudent_two["Maths"] = 95: Sstudent_twof"Physies"] = 90; Sstudent_two["Chemistry"] = 96; Sstudent_twof"English"} = 9” Sstudent_two["Computer"] = 98; Example Correct Code ~ to set cookie « iM "; echo "Value is: ". $_COOKIE|$cookie_name];