xxxxxxxxxx
<div><table width="500" cellspacing="0" cellpadding="0" border="0"><tr><td style="vertical-align: top;" width="132" valign="top"><a target="_blank" href="https://madebrands.ma/"><img alt="created Made brands" style="width:132px;max-width:132px;" src="https://madebrands.ma/wp-content/uploads/2021/10/Logo.jpg" width="132"></a></td> <td style="margin: 0.1px; font-size: 1em; padding: 0px 0px 0px 15px; vertical-align: top;" valign="top"><table style="width: 100%; max-width: 400px; line-height: 1.4; font-family: Georgia, serif; font-size: 80%; color: rgb(0, 0, 1);" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; padding-bottom: 4px;"><div style="font-family: Georgia, serif;"><span style="font-size: 1.2em; color: rgb(66, 195, 193); font-weight: 600;">MADE BRANDS s.a.r.l</span> <span> | Communication Agency</span></div></td></tr> <tr><td style="margin: 0.1px; padding-bottom: 4px;"><div style="font-family: Georgia, serif;"> <span> | Branding - Digital Marketing - Technologies Web</span></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">mobile: </span> <a href="tel:+212 6 60 90 74 50" style="text-decoration: none; color: rgb(0, 0, 1);">+212 6 60 90 74 50</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">phone: </span> <a href="tel:+212 6 73 70 03 93" style="text-decoration: none; color: rgb(0, 0, 1);">+212 6 73 70 03 93</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">email: </span> <a href="mailto:contact@madebrands.ma" target="_blank" style="text-decoration: none; color: rgb(0, 0, 1);">contact@madebrands.ma</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">website: </span><span><a href="https://madebrands.ma" style="text-decoration: none;color:#000001;" target="_blank">www.madebrands.ma</a></span></div></td></tr> <tr><td style="margin: 0.1px; color: rgb(0, 0, 1); padding: 8px 0px 3px; display: block;"><div style="font-family: Georgia, serif;">
</div></td></tr> <tr><td style="margin: 0.1px;"><table cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; padding: 0px 4px 0px 0px;"><a target="_blank" class="social_link" href="https://facebook.com/madebrands.ma/"><img alt="created with madebrands.ma" style="width: 21px;min-width:21px;" src="https://madebrands.ma/wp-content/uploads/2021/10/facebook.png" width="21"></a></td><td style="margin: 0.1px; padding: 0px 4px 0px 0px;"><a target="_blank" class="social_link" href="https://instagram.com/madebrands.ma/"><img alt="created with madebrands.ma" style="width: 21px;min-width:21px;" src="https://madebrands.ma/wp-content/uploads/2021/10/instagram.png" width="21"></a></td></tr></table></td></tr></table></td></tr></table> </div> <table fragment="a46fe8523e" class="branding" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; display: block; padding: 15px 0px 0px;"></td></tr> <tr><td style="margin: 0.1px; border-top: 1px solid rgb(238, 238, 238); padding-top: 5px; font-size: 10px; font-family: Arial;"></tr></table> <table fragment="a46fe8523e" width="500" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; line-height: 1px; font-size: 1px; height: 1px;"> </td></tr></table>
xxxxxxxxxx
// html_entity_decode (php)
Ex:
<style>
.red {
color: red;
}
.bold {
font-weight: bold;
}
</style>
<?php
echo "<font class='red bold'> * required </font>";
?>
xxxxxxxxxx
<div class="container margin-b70">
<div class="row">
<div class="col-md-12">
<?php error_reporting(0); ?>
<h1>Data Awal</h1>
xxxxxxxxxx
<div><table width="500" cellspacing="0" cellpadding="0" border="0"><tr><td style="vertical-align: top;" width="132" valign="top"><a target="_blank" href="https://madebrands.ma/"><img alt="created Made brands" style="width:132px;max-width:132px;" src="https://madebrands.ma/wp-content/uploads/2021/10/Logo.jpg" width="132"></a></td> <td style="margin: 0.1px; font-size: 1em; padding: 0px 0px 0px 15px; vertical-align: top;" valign="top"><table style="width: 100%; max-width: 400px; line-height: 1.4; font-family: Georgia, serif; font-size: 80%; color: rgb(0, 0, 1);" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; padding-bottom: 4px;"><div style="font-family: Georgia, serif;"><span style="font-size: 1.2em; color: rgb(66, 195, 193); font-weight: 600;">MADE BRANDS s.a.r.l</span> <span> | Communication Agency</span></div></td></tr> <tr><td style="margin: 0.1px; padding-bottom: 4px;"><div style="font-family: Georgia, serif;"> <span> | Branding - Digital Marketing - Technologies Web</span></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">mobile: </span> <a href="tel:+212 6 60 90 74 50" style="text-decoration: none; color: rgb(0, 0, 1);">+212 6 60 90 74 50</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">phone: </span> <a href="tel:+212 6 73 70 03 93" style="text-decoration: none; color: rgb(0, 0, 1);">+212 6 73 70 03 93</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">email: </span> <a href="mailto:contact@madebrands.ma" target="_blank" style="text-decoration: none; color: rgb(0, 0, 1);">contact@madebrands.ma</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">website: </span><span><a href="https://madebrands.ma" style="text-decoration: none;color:#000001;" target="_blank">www.madebrands.ma</a></span></div></td></tr> <tr><td style="margin: 0.1px; color: rgb(0, 0, 1); padding: 8px 0px 3px; display: block;"><div style="font-family: Georgia, serif;">
</div></td></tr> <tr><td style="margin: 0.1px;"><table cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; padding: 0px 4px 0px 0px;"><a target="_blank" class="social_link" href="https://facebook.com/madebrands.ma/"><img alt="created with madebrands.ma" style="width: 21px;min-width:21px;" src="https://madebrands.ma/wp-content/uploads/2021/10/facebook.png" width="21"></a></td><td style="margin: 0.1px; padding: 0px 4px 0px 0px;"><a target="_blank" class="social_link" href="https://instagram.com/madebrands.ma/"><img alt="created with madebrands.ma" style="width: 21px;min-width:21px;" src="https://madebrands.ma/wp-content/uploads/2021/10/instagram.png" width="21"></a></td></tr></table></td></tr></table></td></tr></table> </div> <table fragment="a46fe8523e" class="branding" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; display: block; padding: 15px 0px 0px;"></td></tr> <tr><td style="margin: 0.1px; border-top: 1px solid rgb(238, 238, 238); padding-top: 5px; font-size: 10px; font-family: Arial;"></tr></table> <table fragment="a46fe8523e" width="500" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; line-height: 1px; font-size: 1px; height: 1px;"> </td></tr></table>
xxxxxxxxxx
<div><table width="500" cellspacing="0" cellpadding="0" border="0"><tr><td style="vertical-align: top;" width="132" valign="top"><a target="_blank" href="https://madebrands.ma/"><img alt="created Made brands" style="width:132px;max-width:132px;" src="https://madebrands.ma/wp-content/uploads/2021/10/Logo.jpg" width="132"></a></td> <td style="margin: 0.1px; font-size: 1em; padding: 0px 0px 0px 15px; vertical-align: top;" valign="top"><table style="width: 100%; max-width: 400px; line-height: 1.4; font-family: Georgia, serif; font-size: 80%; color: rgb(0, 0, 1);" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; padding-bottom: 4px;"><div style="font-family: Georgia, serif;"><span style="font-size: 1.2em; color: rgb(66, 195, 193); font-weight: 600;">MADE BRANDS s.a.r.l</span> <span> | Communication Agency</span></div></td></tr> <tr><td style="margin: 0.1px; padding-bottom: 4px;"><div style="font-family: Georgia, serif;"> <span> | Branding - Digital Marketing - Technologies Web</span></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">mobile: </span> <a href="tel:+212 6 60 90 74 50" style="text-decoration: none; color: rgb(0, 0, 1);">+212 6 60 90 74 50</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">phone: </span> <a href="tel:+212 6 73 70 03 93" style="text-decoration: none; color: rgb(0, 0, 1);">+212 6 73 70 03 93</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">email: </span> <a href="mailto:contact@madebrands.ma" target="_blank" style="text-decoration: none; color: rgb(0, 0, 1);">contact@madebrands.ma</a></div></td></tr> <tr><td style="margin: 0.1px; padding: 1px 0px;"><div style="font-family: Georgia, serif;">
| <span style="font-weight: 600; color: rgb(66, 195, 193);">website: </span><span><a href="https://madebrands.ma" style="text-decoration: none;color:#000001;" target="_blank">www.madebrands.ma</a></span></div></td></tr> <tr><td style="margin: 0.1px; color: rgb(0, 0, 1); padding: 8px 0px 3px; display: block;"><div style="font-family: Georgia, serif;">
</div></td></tr> <tr><td style="margin: 0.1px;"><table cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; padding: 0px 4px 0px 0px;"><a target="_blank" class="social_link" href="https://facebook.com/madebrands.ma/"><img alt="created with madebrands.ma" style="width: 21px;min-width:21px;" src="https://madebrands.ma/wp-content/uploads/2021/10/facebook.png" width="21"></a></td><td style="margin: 0.1px; padding: 0px 4px 0px 0px;"><a target="_blank" class="social_link" href="https://instagram.com/madebrands.ma/"><img alt="created with madebrands.ma" style="width: 21px;min-width:21px;" src="https://madebrands.ma/wp-content/uploads/2021/10/instagram.png" width="21"></a></td></tr></table></td></tr></table></td></tr></table> </div> <table fragment="a46fe8523e" class="branding" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; display: block; padding: 15px 0px 0px;"></td></tr> <tr><td style="margin: 0.1px; border-top: 1px solid rgb(238, 238, 238); padding-top: 5px; font-size: 10px; font-family: Arial;"></tr></table> <table fragment="a46fe8523e" width="500" cellspacing="0" cellpadding="0" border="0"><tr><td style="margin: 0.1px; line-height: 1px; font-size: 1px; height: 1px;"> </td></tr></table>
xxxxxxxxxx
<?php
$DB_HOST = 'localhost';
$DB_USER = 'root';
$DB_PASS = '';
$DB_NAME = 'dbgmu';
/*try{
$DB_con = new PDO("mysql:host={$DB_HOST};dbname={$DB_NAME}",$DB_USER,$DB_PASS);
$DB_con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
}
catch(PDOException $e){
echo $e->getMessage();
}
*/
$options = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8');
try { $DB_con = new PDO("mysql:host={$DB_HOST};dbname={$DB_NAME};charset=utf8", $DB_USER, $DB_PASS, $options); }
catch(PDOException $ex){ die("Failed to connect to the database: " . $ex->getMessage());}
$DB_con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$DB_con->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
?>