/ Published in: PHP
Beginner PHP Chapter 5 - Arrays
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php /* That will show you the following: Array( [name] => Sandra James [age] => 45 [bloodType] => B+ [height] => 175 [weight] => 65 ) */ $patient1['weight'] = 62; //Been working out, Sandra? /* That will show you the following: Array( [name] => Sandra James [age] => 45 [bloodType] => B+ [height] => 175 [weight] => 62 ) */ ?>