Articles

Affichage des articles du avril, 2019

Comment rendre une balise Iframe html responsive

Comment rendre balise Iframe html responsive  Etape 1 :   Coller ce code dans la balise <head>  </head> de votre site web. Voici le code: <style> .wrapper {     position: relative;     padding-bottom: 56.25%; /* 16:9 */     padding-top: 25px;     height: 0; } .wrapper iframe {     position: absolute;     top: 0;     left: 0;     width: 100%;     height: 100%; } </style> le <body> </body> de la page doit avoir l'iframe ainsi que le lien du site web. .WRAPPER est le nom du DIV ou se trouve l' Iframe Voice un code complet : <!DOCTYPE html> <html lang="en">   <head>     <meta charset="utf-8">     <meta name="viewport" content="width=device-width, initial-scale=1">     <title>SbtHaiti</title>     <meta name="description"...

How to extract tables in mysql database using php script

Image
Here is the tutorial video:  https://www.youtube.com/watch?v=kRO2HyHZbWQ This is PHP script to extract tables in mysql database :  <?php /** *Modified by: www.ddroid509ht.com */ //MySQL server and database $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = ''; $dbname = 'dblogin'; $tables = '*'; //Call the core function backup_tables($dbhost, $dbuser, $dbpass, $dbname, $tables); //Core function function backup_tables($host, $user, $pass, $dbname, $tables = '*') {     $link = mysqli_connect($host,$user,$pass, $dbname);     // Check connection     if (mysqli_connect_errno())     {         echo "Failed to connect to MySQL: " . mysqli_connect_error();         exit;     }     mysqli_query($link, "SET NAMES 'utf8'");     //get all of the tables     if($tables == '*')     {         $tables = array();...