Huhu again
da hab ich unterschlagen, das die Werte in einen
Text eingefügt werden sollen.
hier also eine verbesserte Version
$Tpl= "Hallo ich bin %s, %s Jahre alt, komme aus %s und %s";
$PasteMe = array( 'Name','Alter','Strasse','Wohnort'); # etc.
$Haystack=array();
foreach($PasteMe as $key) {
$Haystack[]= strip_tags( $_POST[$key] );
}
$Result=sprintf($Tpl,$Haystack[0],$Haystack[1],$Haystack[2],$Haystack[3] );
Viele Grüße
lulu