In Soviet Russia the server FETCHES you!
\n";
/* just close the php tag and write in html, why complicate? */
$table = "
\n" .
" \n" .
" Name | Password | \n" .
"
\n" .
" \n" .
" {$_POST['name']} | {$_POST['password']} | \n" .
"
\n" .
"\n";
echo "{$table}
\n";
}
/* GET */
if (!empty($_GET))
{
/* heredoc? */
$table = <<
Token | Value |
Name | {$_GET['name']} |
Password | {$_GET['password']} |
E-mail | {$_GET['email']} |
Location | {$_GET['location']} |
Home Phone | {$_GET['home_phone']} |
Work Phone | {$_GET['work_phone']} |
EOD;
echo "{$table}
\n";
}
?>