<html><meta http-equiv="Content-Type"
content="text/html; charset=windows-1250"><title>RLJ Nastepny Mecz</title>
<?php
require("../mysql.php");
if($send=='a') {
$zapytanie = "UPDATE rlj_nast_mecze SET gospodarze='$gospodarze', goscie='$goscie',kolejka='$kolejka',data='$data'";
echo "<BR>Dane dodane prawidłowo ! Dziękujemy za wypełnieni formularza !<Br> <a href='../index.php?mod=main'>wroc</a>"; }
else {
print'<form method="post" action="rlj_nast_mecz.php"> <table width="0" border="1" cellspacing="0" cellpadding="0">
<tr bgcolor="#CCCCCC">
<td colspan="2"><div align="center"><strong>RLJ</strong> Nastepny mecz</div></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">Gopsodarze:</td>
<td><label>
<div align="center">
<select name="gospodarze" id="gospodarze" style="width:150px;">
<option>Ruch Radzionków</option>
<option>Polonia Bytom</option>
</select>
</div>
</label></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">Goście:</td>
<td><div align="center">
<select name="goscie" id="goscie" style="width:150px;">
<option>Polonia Bytom</option>
<option>Ruch Radzionków</option>
</select>
</div></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">Kolejka:</td>
<td><label>
<div align="center">
<input name="kolejka" type="text" id="kolejka" maxlength="2" style="width:35px;" />
</div>
</label></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">Data:</td>
<td><div align="center">
<input name="data" type="text" id="data" value="dd.mm.rrrr" maxlength="10" style="width:65px;" />
</div></td>
</tr>
<tr bgcolor="#CCCCCC">
<td colspan="2"><div align="center">
<input type="submit" value="a" name="send">
</div></td>
</tr>
</table>
</form>';
}
?>
</html>
[color="#000000"]Witam, problem tego kodu polega na tym ze nie wiem dlaczego nie dodają mi sie rekordy.. na moim localhoscie wszystko działa wrzucam to na serwer np. freens.pl i juz nie działą .. czym to moze byc spowodowane? Proszę o pomoc!!
Powód edycji: Poprawiłem bbcode. /webdicepl