Sveiki, rakstishu bez garumzimem jo nesen parinstaleju pc un nav uzinstalets. Tatad man ir shads kods nav parak garsh tapec ielikshu sheit
<?php
$vards = $_POST["vards"];
$xvsx = $_POST["xvsx"];
$serv = $_POST["serv"];
$map = $_POST["map"];
$time = $_POST["time"];
$steam = $_POST["steam"];
$coment = $_POST["coment"];
htmlspecialchars($vards);
htmlspecialchars($teksts);
$cikls = fopen("request.php", 'a') or die("neizdevas!");
{
fwrite($cikls, $vards .":");
fwrite($cikls, $xvsx .":");
fwrite($cikls, $serv .":");
fwrite($cikls, $map .":");
fwrite($cikls, $time .":");
fwrite($cikls, $steam .":");
fwrite($cikls, $coment ." <br/>");
fclose($cikls);
header( "Location: http://localhost/index.php" )
?>
Pec shi koda viss noraditais tekst ir viena rindaa bet es gribu panaakt ka vinsh ir shada rami.
<table border="1">
<tr>
<th> $vards </th>
<td> $xvsx </td>
</tr>
<tr>
<th rowspan="6"> $coment </th>
<td> $steam </td>
</tr>
<tr>
<td> $serv </td>
</tr>
<tr>
<td> $map </td>
</tr>
<tr>
<td> $time </td>
</tr>
</table>