Also, you can store arrays in a database with JSON (req PHP 5.2+ or JSON lib).
$array = array("some", "random", "text");
$sql = "INSERT INTO table (column) VALUES ('".mysql_real_escape_string(json_encode($array))."')";
And to retrieve the value back into an array:
$result = mysql_query("SELECT column FROM table WHERE ID=1");
$row = mysql_fetch_array($result);
$array = json_decode($row['column']);
print_r($array);
There are lots of zipping examples online:
http://www.devco.net/archives/2005/05/24/creating_zip_files_with_php.php
http://www.granthinkson.com/2005/07/01/create-zip-files-dynamically-using-php/
Creating a Word doc might prove to be more difficult unless you're hosting on Windows:
http://stackoverflow.com/questions/124959/create-word-document-using-php-in-linux
http://www.joelonsoftware.com/items/2008/02/19.html
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.