<?php
// ****************************************************************************
// Carregar os produtos na tabela categorias_artigos
// ****************************************************************************
// Inclui a conexão

//$host1    = $_SESSION['HOST'];
//$user1    = $_SESSION['USER'];
//$pass1    = $_SESSION['PASS'];
//$dbname1  = $_SESSION['DBNAME'];

$host1    = "localhost";
$user1    = "root";
$pass1    = "";
$dbname1  = "eed";

$host1    = "mysql.portalediouro.com.br";
$user1    = "portaled02_add1";
$pass1    = "ediouro123";
$dbname1  = "portalediouro02";


$mysqli = new mysqli($host1, $user1, $pass1, $dbname1);

/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
exit();
     }

// Excluir tabela de produtos
        
    $query = "delete from artigos where cde_number = '201801'";
          
         
    if ($result = $mysqli->query($query)) {
       }

	echo $query;


?>
