<?php
if (!isset($_POST['submit']) || $_POST['submit']!='submit') {
echo 'h4x0r?';
} else {
echo '<h3>Paldies par sniegto informaciju, '.post('vards', '???').
'Tu apstiprinaji sekojosu informaciju: </h3>';
$dati = array(
'Vards' => 'vards',
'Uzvards' => 'uzv',
'Vecums' => 'gadi',
'E-mails' => 'mails',
'Adrese' => 'adr',
'Telefons' => 'tel');
echo '<table>';
foreach($dati as $name => $value) {
echo '<tr><td>'.$name.'</td><td><b>'.
(isset($_POST[$value]) ? $_POST[$value] : 'unknown').'</b></td></tr>';
}
echo '</table>';
?>
</body>
</html>
Parse error: parse error in c:\program files\easyphp1-8\www\form_parse.php on line 27
kur ir koda kljuuda???