summaryrefslogtreecommitdiff
path: root/beta_accents/fct_adm.inc.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
commit9738017972a6d4fea655926525b3c67dd85740cf (patch)
tree938d6f26c138d7c176c821bafc513362186a8ca7 /beta_accents/fct_adm.inc.php
parent5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (diff)
download2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.gz
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.bz2
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.zip
Version beta_accents 2007-03-12+17:26:00 - 2007-03-14+17:35:14
Diffstat (limited to 'beta_accents/fct_adm.inc.php')
-rw-r--r--beta_accents/fct_adm.inc.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/beta_accents/fct_adm.inc.php b/beta_accents/fct_adm.inc.php
deleted file mode 100644
index 1b68b06..0000000
--- a/beta_accents/fct_adm.inc.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-function html_generate_MySQLTable($table, $columns='*', $where_clause='', $row_begin='', $row_end='')
-{
- require_once('app/include/ludo/html_elements.inc.php');
- require_once('app/include/connect.inc.php');
-
- if ( $where_clause !== '' ) { $where_clause="WHERE $where_clause"; }
- $query = "SELECT $columns FROM $table $where_clause;";
- echo "DEBUG : $query\n";
- if ( ! $result = @mysql_query($query) )
- {
- return "Erreur de génération de la table $table\n";
- }
- else
- {
- $row = mysql_fetch_assoc($result);
- // Affichage des entêtes du tableau
- echo "<table>\n<thead>\n<tr>\n";
- echo "$row_begin<td>" . implode("</td>\n<td>",array_keys($row)) . "</td>$row_end\n";
- echo "</tr>\n</thead>\n<tbody>\n";
- do
- {
- echo "<tr>\n\t<td>" . implode("</td>\n<td>",$row) . "</td>\n</tr>\n";
- } while ( $row = mysql_fetch_assoc($result) );
- echo "</tbody>\n</table>\n";
- }
-}
-
-
-
-html_generate_MySQLTableSuppr('AWOR_Reunion','idR');
-
-?> \ No newline at end of file