mySQL database
the mysql_fetch_array ();
function to obtain a result set from a line array or array of numbers as a key, or both, return line from the array generated from the acquired result set, if there are no more rows returns false.
mysql_select_db ()
MySQL database function sets the activity. If successful, the function returns true. If it fails, false is returned.
mysql_select_db (database, connection)
Parameter Description Required database. To select the specified database. connection optional. Provisions MySQL connection. If not specified, is used on a connection.
If you want to get all the data in the data set, we have to traverse the entire result set through the cycle.
Array Data = $ ();
the while ($ Row = the mysql_fetch_array ($ Result)) {
$ Data [] = $ Row;
}
Key: additions and deletions to change search the database (curd)