- array_values: documentation ( source)
- str_replace: documentation ( source)
- array_keys: documentation ( source)
<?php
$summary="The problem with field2 is field13. The fix will be field7";
$_POST['field2']='thiscomputer';
$_POST['field7']='thishotfix';
$_POST['field13']='thisapplication';
echo str_replace(array_keys($_POST),array_values($_POST),$summary);
?>