echo $_SERVER['PHP_SELF'];
?>
"  method="POST">
                        <table>
  <thead>
    <tr>
      <th width="20">Publicado</th>
      <th width="25">Vista Previa</th>
      <th width="300">Titulo</th>
      <th width="150">Fecha</th>
      <th width="150">Opciones</th>
    </tr>
  </thead>
  <tbody>
    <?php 
$result = $publicacion->getPublicaciones();
// creamos objeto para obtener los usuarios
while ($row = mysql_fetch_array($result)) {
    ?>
   
  
      <tr>
      <td><button type="submit" name="check" value="<?php 
    echo $row['id_publicacion'];
    ?>
"><?php 
    if ($row['publicado'] == 1) {
        echo '✓';
    } else {
        echo 'X';
    }