<?php

$first2 = $_POST['first2'];
$last2 = $_POST['last2'];
$text2 = $_POST['mytext2'];
$user2 = $_POST['user2'];
$phone2 = $_POST['phone2'];

$first2 = str_replace('"', '\"', $first2); #replace double-quotes
$first2 = str_replace("'", "\'", $first2);
$first2 = str_replace(':', '\:', $first2);
$first2 = str_replace('-', '\-', $first2);

$last2 = str_replace('"', '\"', $last2);
$last2 = str_replace("'", "\'", $last2);
$last2 = str_replace(':', '\:', $last2);
$last2 = str_replace('-', '\-', $last2);

$phone2 = str_replace('"', '\"', $phone2);
$phone2 = str_replace("'", "\'", $phone2);
$phone2 = str_replace(':', '\:', $phone2);
$phone2 = str_replace('-', '\-', $phone2);

$user2 = str_replace('"', '\"', $user2);
$user2 = str_replace("'", "\'", $user2);
$user2 = str_replace(':', '\:', $user2);
$user2 = str_replace('-', '\-', $user2);

$text2 = str_replace('"', '\"', $text2);
$text2 = str_replace("'", "\'", $text2);
$text2 = str_replace(':', '\:', $text2);
$text2 = str_replace('-', '\-', $text2);
$text2 = str_replace( chr(13), '<br />', $text2);

echo "<br/><br />The raw php code you entered looks like this:<br /><br />" . $first2 . " - " . $last2 . " - " . $user2 . " - " . $phone2 . "<br /><br />" . $text2; echo '<br /><br /><a href="javascript:history.go(-1)">RETURN</a>'; ?>