if( count(Mail::failures()) > 0 ) {
echo "There was one or more failures. They were: <br />";
foreach(Mail::failures as $email_address) {
echo " - $email_address <br />";
}
}
// check for failures
if (Mail::failures()) {
return redirect()->back()->with('status', 'Email not send');
}
// otherwise everything is okay ...
return redirect()->route('home')->with('status', 'Email is send');
var params = {
odin: $('input[name="1"]').val(),
dva: $('input[name="2"]').val(),
options: $('input[name="options[name]"]').serialize()
}
var options = [];
$('input[name="options"]').each(function() {
options.push($(this).val());
});
var params = {
odin: $('input[name="1"]').val(),
dva: $('input[name="2"]').val(),
options: options
}
RewriteRule ^([^/]*)/(.*) ?city=$1&page=$2 [L]
RewriteRule ^([^/]*)/(.*)$ ?city=$1&page=$2 [L]