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>.
One milliliter of water weighs one gram. There are 1000 milligrams in one gram. One milliliter of other substances will weigh more or less, depending upon their densities. A millilter of gasoline, for example, weighs less, and a milliliter of mercury weighs more -- WAY more. Milligram is a unit of mass; milliliter is a unit of volume.