* Thus wrote Pierre: > Hi all > I've a little problem with creating a dynamic var. > This is my line code : > $erreur .='Le champs '.${'corresp_chps[\''.$champs.'\']'}.'<br>';
You're making it more complicated that it needs to be: $erreur .= 'Le champs '. $corresp_chps[$champs] .'<br>'; Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php