Voici ma base sql
-- phpMyAdmin SQL Dump
-- version 3.2.2.1
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Ven 09 Avril 2010 à 13:03
-- Version du serveur: 5.1.42
-- Version de PHP: 5.3.1
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `meteo`
--
-- --------------------------------------------------------
--
-- Structure de la table `previsions`
--
CREATE TABLE IF NOT EXISTS `previsions` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`date` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`date1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`soir` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`nuit` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`matin` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`apresmidi` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`soir1` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`pictosoir` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`pictonuit` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`pictomatin` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`pictoapresmidi` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`pictosoir1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`icsoir` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`icnuit` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`icmatin` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`icapresmidi` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`icsoir1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ventsoir` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ventnuit` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ventmatin` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ventapresmidi` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ventsoir1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dirsoir` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dirnuit` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dirmatin` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dirapresmidi` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dirsoir1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`jour` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`jour1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`mois` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`annee` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`d1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`d2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`d3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`d4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`d5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`j1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`j2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`j3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`j4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`j5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`m1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`m2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`m3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`m4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`m5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`picto1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`picto2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`picto3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`picto4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`picto5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dir1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dir2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dir3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dir4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`dir5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`vent1b` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`vent2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`vent3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`vent4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`vent5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ic1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ic2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ic3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ic4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`ic5` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp1b` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp2b` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp3b` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp4b` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`temp5b` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`paca` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `soir` (`soir`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
--
-- Contenu de la table `previsions`
--
INSERT INTO `previsions` (`id`, `date`, `date1`, `soir`, `nuit`, `matin`, `apresmidi`, `soir1`, `pictosoir`, `pictonuit`, `pictomatin`, `pictoapresmidi`, `pictosoir1`, `icsoir`, `icnuit`, `icmatin`, `icapresmidi`, `icsoir1`, `ventsoir`, `ventnuit`, `ventmatin`, `ventapresmidi`, `ventsoir1`, `dirsoir`, `dirnuit`, `dirmatin`, `dirapresmidi`, `dirsoir1`, `jour`, `jour1`, `mois`, `annee`, `d1`, `d2`, `d3`, `d4`, `d5`, `j1`, `j2`, `j3`, `j4`, `j5`, `m1`, `m2`, `m3`, `m4`, `m5`, `picto1`, `picto2`, `picto3`, `picto4`, `picto5`, `temp1`, `temp2`, `temp3`, `temp4`, `temp5`, `dir1`, `dir2`, `dir3`, `dir4`, `dir5`, `vent1b`, `vent2`, `vent3`, `vent4`, `vent5`, `ic1`, `ic2`, `ic3`, `ic4`, `ic5`, `temp1b`, `temp2b`, `temp3b`, `temp4b`, `temp5b`, `paca`) VALUES
(2, 'samedi', 'samedi', '42°c', '30°c', '27°c', '42°c', '42°c', 'pic/pluie_fai.gif', 'pic/pluie_fai.gif', 'pic/pluie_fai.gif', 'pic/pluie_fai.gif', 'pic/couvert.gif', '5/5', '5/5', '5/5', '5/5', '5/5', '5 à 10 km/h', '5 à 10 km/h', '5 à 10 km/h', '5 à 10 km/h', '5 à 10 km/h', 'vent/sud-est.gif', 'vent/sud-est.gif', 'vent/sud-est.gif', 'vent/sud-est.gif', 'vent/sud-est.gif', '06', '01', 'aout', '2016', 'Lundi', 'Lundi', 'Lundi', 'Lundi', 'Lundi', '01', '01', '01', '01', '01', 'janvier', 'janvier', 'janvier', 'janvier', 'janvier', 'pic/soleil.gif', 'pic/soleil.gif', 'pic/soleil.gif', 'pic/soleil.gif', 'pic/soleil.gif', '42°c', '42°c', '42°c', '42°c', '42°c', 'vent/nord.gif', 'vent/nord.gif', 'vent/nord.gif', 'vent/nord.gif', 'vent/nord.gif', '5 à 10 km/h', '5 à 10 km/h', '5 à 10 km/h', '5 à 10 km/h', '5 à 10 km/h', '5/5', '5/5', '5/5', '5/5', '5/5', '42°c', '42°c', '42°c', '42°c', '42°c', 'imgs/paca.png');
Par exemple $picto1 fait appel à l’image pic/soleil.gif et par exemple $picto2 fait appel à pic/nuageux.gif tout en sachant que les images change régulièrement.
le serveur est localhost et le login root sans mot de passe, car pour le moment c’est testé en local sur un pc Linux.