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>.
Quick Answer. There are one million milligrams in a kilogram. A milligram is the smallest metric measurement and is equal to .001 of a gram. It takes 1,000 milligrams to equal 1 gram and 1,000 grams to equal a kilogram. Continue Reading.