Ou utiliser les fonctions MySQL :
UPDATE prixcarbu SET diesel=1.17, essence95=1.39, essence98=1.47, devise=0, datemodif=FROM_UNIXTIME(1185455854, '%Y-%m-%d') WHERE id=1

Envoyé par
cobra-expert
Or, la table que mysql demande, j'ai pas cette tables et je ne l'appele pas non plus

Vous devez exécuter les requêtes SQL (en modifiant éventuellement le nom de la base avant) du fichier scripts/create_table.sql situé dans le répertoire de phpMyAdmin ou alors désactiver ces fonctions de phpMyAdmin en modifiant les lignes suivantes de votre fichier config.inc.php :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| $cfg['Servers'][$i]['pmadb'] = 'pma'; // Database used for Relation, Bookmark and PDF Features
// (see scripts/create_tables.sql)
// - leave blank for no support
// DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // Bookmark table
// - leave blank for no bookmark support
// DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = 'pma_relation'; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
// DEFAULT: 'pma_relation'
$cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // table to describe the display fields
// - leave blank for no display fields support
// DEFAULT: 'pma_table_info'
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // table to describe the tables position for the PDF schema
// - leave blank for no PDF schema support
// DEFAULT: 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // table to describe pages of relationpdf
// - leave blank if you don't want to use this
// DEFAULT: 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // table to store column information
// - leave blank for no column comments/mime types
// DEFAULT: 'pma_column_info'
$cfg['Servers'][$i]['history'] = 'pma_history'; |
Partager