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
$app->mailer = function () { | |
$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', '465', 'ssl') | |
->setUsername('[email protected]') | |
->setPassword('password'); | |
$mailer = Swift_Mailer::newInstance($transport); | |
return $mailer; | |
}; |
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 | |
//Example array subject | |
$array1 = [ | |
'Name', | |
': ...', | |
'Tab', | |
'Semarang, ........' | |
]; |
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
mysql> create table if not exists kontributor (id int not null auto_increment, nama varchar(45), primary key(id)); | |
Query OK, 0 rows affected (0.10 sec) | |
mysql> create table if not exists project ( id int not null auto_increment, namaproject varchar(45), biaya int, primary key(id)); | |
Query OK, 0 rows affected (0.46 sec) | |
mysql> create table if not exists relasi_kontributor ( kontributor_id int not null, project_id int not null | |
-> ); | |
Query OK, 0 rows affected (0.45 sec) |
NewerOlder