Simple bash example to store the output of a MySQL query in an array: dbquery=$(mysql -u username -p password -e "use table; select field from table;") array=( $( for i in $dbquery ; do echo $i ; done ) )...
ARK the Archaeological Recording Kit is an opensource, standards compliant, web-delivered system for the creation, storage, manipulation and publication of archaeological data and media.