1<?php
2$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
3echo $arr['fruit']
4/*OUTPUT
5*/mango
6?>
7
1<?php
2$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
3echo $arr['fruit']
4/*OUTPUT
5mango*/
6?>
1<?php
2$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
3echo $arr['fruit'];
4/*OUTPUT
5mango*/
6?>
7
1<?php
2$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
3echo $arr['fruit'];
4/*OUTPUT
5mango*/
6?>
1Array
2(
3 [Ahmed] => Rofy
4 [Abdallah] => Oda
5 [Michel] => Mic
6 [Yahia] => ENG
7)
8
1Array
2(
3 [email] => abeermanchanda00@gmail.com
4 [password1] => chess
5 [passcheck1] => on
6 [submit] => Login
7)
8
1<?php
2$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
3echo $arr['fruit']
4/*OUTPUT
5mango*/
6?>
7
1<?php
2$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
3echo $arr[1]
4//OUTPUT
5//mango
6?>
7