Definition and Usage. The array() function is used to create an array. In PHP, there are three types of arrays: Indexed arrays - Arrays with numeric index. Associative arrays - Arrays with named keys. Multidimensional arrays - Arrays containing one or more arrays.
Liters and milligrams aren't compatible (liters measure volume and milligrams measure mass). One liter of water is equal to 1,000,000 milligrams, and there are 1000 milliliters in one liter. ChaCha again soon! data-config-site-section=chacha>.
The difference between a milligram and a kilogram is quantity. With one gram as the basic unit of measure, one milligram is one one thousandth (1/1000) of a gram. One kilogr â¦ am is one thousand (1000) grams. Therefore one kilogram is one million milligrams (1000 milligrams per gram times 1000 grams per kilogram).