Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, May 1, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Passage d'une variable dans un fichier de triggers

phpMyEdit General     Passage d'une variable dans un fichier de triggers
Post new topic   Reply to topic    
 
jp15     Joined: 31 Mar 2005   Posts: 1  
Post Posted: 2005-03-31 11:10
Back to top  Reply with quote     

Bonjour et félicitations pour PhpMyEdit !

Le passage de variables entre un fichier généré et un fichier triggers ne fonctionne pas. Avez-vous une solutions s'il vous plaît ?
Merci.

Exemple :

X.php
$var1="test";
$opts['triggers']['select']['pre']="a.php";

a.php
echo $var1; // var1 est vide !

 
ajh     Joined: 17 Dec 2003   Posts: 236  
Post Posted: 2005-03-31 15:52
Back to top  Reply with quote     

En anglais s'il vous plait...

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2005-03-31 16:51
Back to top  Reply with quote     

echo $GLOBALS['var1'];


http://www.php.net/manual/fr/language.variables.scope.php

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy