PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php echo "Manual access to each element
"; echo $shop[0][0]." costs ".$shop[0][1]." and you get ".$shop[0][2]."
"; echo $shop[1][0]." costs ".$shop[1][1]." and you get ".$shop[1][2]."
"; echo $shop[2][0]." costs ".$shop[2][1]." and you get ".$shop[2][2]."
"; echo "Using loops to display array elements
"; echo ""; for ($row = 0; $row < 3; $row++) { echo "
"; ?>- The row number $row"; echo "
"; } echo ""; for ($col = 0; $col < 3; $col++) { echo "
"; echo "- ".$shop[$row][$col]."
"; } echo "