If you’re connecting to a MySQL database in your PHP application, you’ll find that there are two alternative connections – mysql_connect which establishes a new connection “each time” and mysql_pconnect which uses persistent connections. Which should you use?
In One Line : An array stores multiple values in one single variable.
An array is a data structure that stores one or more similar type of values in a single value. For example if you want to store 100 numbers then instead of defining 100 variables its easy to define an array of 100 length.