Return to Snippet

Revision: 59469
at September 9, 2012 22:00 by ashmenon


Initial Code
<?php

print_r($patient1);

/* That will show you the following: 

Array(
	  [name] => Sandra James
	  [age] => 45
	  [bloodType] => B+
	  [height] => 175
	  [weight] => 62
	  [visits] => Array(
			[0] => Array(
					   [date] => 11/12/09
					   [time] => 11.02AM
					   )
			[1] => Array(
					   [date] => 13/01/10
					   [time] => 2.15PM
					   )
			[2] => Array(
					   [date] => 16/01/10
					   [time] => 10.57AM
					   )
			)
	  )
	  
*/


?>

Initial URL

                                

Initial Description
Beginner PHP Chapter 5 - Arrays

Initial Title
Beginner PHP Chapter 5 - Arrays - Code Block 12

Initial Tags

                                

Initial Language
PHP