Echo dans print ou print dans echo?
servalone
-
Autumn`Tears Messages postés 1054 Date d'inscription Statut Membre Dernière intervention -
Autumn`Tears Messages postés 1054 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Je souhaite afficher une variable avec echo, mais il ne récupéré pas la variable précédemment définir avec un include, voici mon code :
PAGE INDEX :
<?php
$nav_en_cours = 'HOME';
include "inc/meta-french.php";
$titre = '_TITRE';
$meta_titre = $nav_en_cours.$titre;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $meta_titre ; ?></title>
...
-----------------------------------------------
PAGE meta-french
<?php
define('HOME_TITRE', 'blabla');
?>
Merci !!!
Je souhaite afficher une variable avec echo, mais il ne récupéré pas la variable précédemment définir avec un include, voici mon code :
PAGE INDEX :
<?php
$nav_en_cours = 'HOME';
include "inc/meta-french.php";
$titre = '_TITRE';
$meta_titre = $nav_en_cours.$titre;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $meta_titre ; ?></title>
...
-----------------------------------------------
PAGE meta-french
<?php
define('HOME_TITRE', 'blabla');
?>
Merci !!!
A voir également:
- Echo dans print ou print dans echo?
- Print artist - Télécharger - Loisirs créatifs
- Print pratic - Télécharger - Photo & Graphisme
- Directory list & print - Télécharger - Divers Utilitaires
- Print manager - Télécharger - Suite bureautique
- Hp universal print driver - Télécharger - Pilotes & Matériel