This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//This API https://bitbucket.org/mailchimp/mandrill-api-php | |
require_once 'mandrill-api-php/src/Mandrill.php'; | |
function send($data) { | |
try { | |
$mandrill = new Mandrill('YOUR_API_KEY'); | |
$message['to'][] = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `region` ( | |
`code` int(11) NOT NULL, | |
`name` char(255) DEFAULT NULL | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; | |
CREATE TABLE `comuna` ( | |
`name` char(255) DEFAULT NULL, | |
`region` int(11) NOT NULL | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
NewerOlder