J'essaye d'afficher une info d'une autre page sur une page.
la première page en php contient
Code : Tout sélectionner
<form method="GET">
<span class="bouton">
<input type="button" value="Guichet" name="guichet" onclick="window.location.href='sdp-guichet.php';"/>
<input type="button" value="Pmad" name="pmad" onclick="window.location.href='sdp-pmad.php';"/>
<input type="button" value="Plateau" name="plateau" onclick="window.location.href='sdp-plateau.php';"/>
<input type="button" value="Autre" name="autre" onclick="window.location.href='sdp-autre.php';"/>
</span>
</form>
Code : Tout sélectionner
<?php include("header.php"); ?>
<div id="global">
<div id="texteglobal">
<div id="annule">
<span>En cas de demande annulée :</span>
<a href="/code-final.php" class="boutonannule">Cliquez ici</a>
</span>
</div>
</br></br>
Type d'intervention =>[b]<?php $_GET["guichet"]; ?>[/b] // cette ligne affiche une erreur.
</br></br>
Sagit-il d'une Demande ou d'un Incident ?
</br></br>
<span class="bouton"><a href="sdp-demande.php">Demande</a></span>
<span class="bouton"> <a href="#">Incident</a></span>
</div><!*-------END DIV texte---->
</div>
<?php include("footerP.php"); ?>