Thank you for your responses... but I have always used the <?php tag in my code and I always run the php files (not php.txt) using the localhost !!! I'm making websites for 5 year now so I know a litle how to use easyphp...
In fact all is working fine with the 1.8 version !!!
So I really don't understand from where the error can come.
I put an example of my code and a screenshot of the easyphp 2.0 interpretation in IE7 :
Link to the screenshot : [
www.attrape-reves.net]
Here is the example of my main php code :
<?php
// INCLUDES
include('global-variables.php');
include('parse-functions.php');
// Variables d'environnement
$PHP_SELF = $_SERVER['PHP_SELF'];
?>
and bit far away in my php document :
<?php
// SELECTION DES ENREGISTREMENTS
include('admin/connexion.php');
$query = "SELECT * FROM agenda WHERE status_id=2 ORDER BY date ASC";
$data = mysql_query($query) or die("selection des enregistrements impossible");
$nbr_result = mysql_num_rows($data);
// AFFICHAGE DES RESULTATS
if ($nbr_result==0) echo $NO_RESULT;
$i = 1;
echo $beginTabList;
while (list($id,$status_id,$title,$text,$date,$link,$textlink) = mysql_fetch_row($data)){
parseNews($i,$id,stripslashes($title),stripslashes($text),$date,$link,$textlink);
$i++;
}
echo $endTabList;
?>
In this main php document, I use Includes that contains the global variables that you can find in my screenshot :
<?php
$beginTabList = '<table class="boxform" width="100%" cellspacing="0">';
$endTabList = '</table>';
$NO_RESULT ='<table width="100%" heigth="15" bgcolor="#B9242E"><tr><td><span align="center" class="texte Blanc">Il n\'y a aucun enregistrement dans la base !</span></td></tr></table>';
$UPLOADFILE_OK ='<table width="100%" heigth="15" bgcolor="#66DD00"><tr><td><span align="center" class="texte Blanc">Transfert du fichier '; $UPLOADFILE_OK_END =' effectué avec succès !</span></td></tr></table>';
$DELETEFILE_OK ='<table width="100%" heigth="15" bgcolor="#66DD00"><tr><td><span align="center" class="texte Blanc">Suppression du fichier '; $DELETEFILE_OK_END =' effectuée avec succès !</span></td></tr></table>';
$INSERT_OK ='<table width="100%" heigth="15" bgcolor="#66DD00"><tr><td><span align="center" class="texte Blanc">Ajout dans la BDD effectué avec succès !</span></td></tr></table>';
$UPDATE_OK ='<table width="100%" heigth="15" bgcolor="#66DD00"><tr><td><span align="center" class="texte Blanc">Update de la BDD effectuée avec succès !</span></td></tr></table>';
$ERROR_INSERT_FAILED ='<table width="100%" heigth="15" bgcolor="#B9242E"><tr><td><span align="center" class="texte Blanc">Problème au moment de l\'insertion dans la base de données !</span></td></tr></table>';
$ERROR_FIELDS_EMPTY ='<table width="100%" heigth="15" bgcolor="#B9242E"><tr><td><span align="center" class="texte Blanc">Erreur : vérifiez que les champs sont bien remplis !</span></td></tr></table>';
$ERROR_FIELDS_MINI ='<table width="100%" heigth="15" bgcolor="#B9242E"><tr><td><span align="center" class="texte Blanc">Erreur : vous devez remplier au moins 1 champ !</span></td></tr></table>';
$ERROR_UPLOADFILE ='<table width="100%" heigth="15" bgcolor="#B9242E"><tr><td><span align="center" class="texte Blanc">Problème au moment du tranfert de fichier !</span></td></tr></table>';
?>
Thanks for tour responses.
Thomas.