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>.
1 Gram = 1000 Milligrams. Gram is a metric system unit of mass. It is one thousandth (1/1000) of the metric system base unit, kilogram. It is a very commonly used unit of mass in daily life. The abbreviation is g. Milligram is a small unit of mass in metric system and used commonly in medicine and pharmacy etc.