I need to construct a string to visually show to the user some $_POST vars.
I need to display : "$_POST[$var],"
Including the "" and the , .
I have tried : \"\"$_POST[\".$var.\"]," but that is very wrong.
Could one of you kind list members show me what it should be please ?
You have a couple of options... just pick the one that suits you...
<?
echo "\"{$_POST[$var]},\"";
echo '"'.$_POST[$var].',"';
?>Justin French
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

