Cytat(paw-e-l @ 28.09.2009, 18:41:19 )

problem polega na tym że w niektórych miejscach brakuje Ci apostrofów. spróbuj zrobić tak jak napisałem w poprzednim poście.
Moje pliki to:
index.php<html>
<title>xxxxxxxxx</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" language="JavaScript" src="overlib.js"></script>
<body>
<form action="formularz.php" method="POST">
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" class="naw1">
<a href="index.php?=glowna"> Strona główna</a> |
<a href="http://nasza-klasa.pl">Nasza-Klasa.pl</a> |
</td>
</tr>
<tr>
<td class="top"></td>
<td class="logowanie"><center>Niedługo aktualny ;)</center></td>
</td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" class="naw2">
<br><center><script type="text/javascript" src="tekst.js"></script></center>
</td>
</tr>
<tr>
<td width="195" valign="top">
<div class="mglowne"></div>
<div class="menu">
<ul>
<li></li>
</ul>
</div>
<div class="dolm"></div>
<div class="newsletter"></div>
<div class="menu">
<center>
Brak newslettera ; <
<input size="20" value="PZDR Mari" class="ii"><input value="OK" type="submit" class="ii">
</center>
</div>
<div class="dolm"></div>
<div class="arty"></div>
<div class="menu">
<ul>
<li></li>
</ul>
</div>
<div class="dolm"></div>
</td>
<td align="center" valign="top" width="504" class="odstep">
<?php
if(empty($_GET['id']) or
$_GET['id']=="glowna"){ include("kontakt.html");
}
?>
<?php
if($_GET['id']=="galeria"){
include("galeria.html");
}
?>
<?php
if($_GET['id']=="download"){
include("download.html");
}
?>
<?php
if($_GET['id']=="omnie"){
include("omnie.html");
}
?>
<?php
if($_GET['id']=="kontakt"){
include("kontakt.html");
}
?>
<?php
if($_GET['id']=="bannery"){
include("bannery.html");
}
?>
<?php
if($_GET['id']=="1"){
include("newsy/1.html");
}
?>
<?php
if($_GET['id']=="2"){
include("newsy/2.html");
}
?>
<?php
if($_GET['id']=="3"){
include("newsy/3.html");
}
?>
<?php
if($_GET['id']=="4"){
include("newsy/4.html");
}
?>
<?php
if($_GET['id']=="5"){
include("newsy/5.html");
}
?>
</td>
<td width="245" valign="top">
<img src="images/LINKI.jpg">
<div class="menup">
<ul>
<li> 01. <a href="http://www.limtv.pl"> LimTV.pl</a> </li>
<li> 02. <a href="http://forum.limtv.pl/"> ForumLimTV.pl</a> </li>
<li> 03. <a href="http://www.youtube.pl">YouTube</a> </li>
<li> 04. <a href="http://google.pl">Google</a> </li>
<li> 05. <a href="http://www.wp.pl">WP.pl Wirtualna Polska</a> </li>
<li> 06. <a href="http://www.myspace.com"> MySpace</a> </li>
<li> 07. <a href="http://deviantart.com"> DeviantART</a> </li>
</ul>
</div>
<div class="dolm2"></div>
<div class="wyszukaj"></div>
<div class="menup">
<center>
<input size="20" value="Szukaj..." class="ii"><input value="OK" type="submit" class="ii">
</center>
</div>
<div class="dolm2"></div>
<div class="poradniki"></div>
<div class="menup">
<ul>
<li> 01.<a href="#" onkeypress="if (event.keyCode == 13) decode_link()" onmouseover="return overlib('Brak',CAPTION,' Mari');" onmouseout="nd();"> brak</a> </li>
</ul>
</div>
<div class="dolm2"></div>
</td>
</tr>
<tr class="stopka">
<td colspan="2">
Copyright by <br>
Wszelkie prawa zastrzeżone.</td>
<td class="prawa">
Designed by Mari</td>
</tr>
</table>
</body>
</html>
kontakt.html<html>
<head>
<title>xxxxxxxx</title>
</head>
<body bg color="black">
<form action="formularz.php" method="POST">
<font color="white"><div class="topn">xxxxxxxx</div></font>
<center>
<div class="tlon">
<p id="loadBar" style="display:none;">
<strong>Trwa wysyłanie wiadomości. Zaczekaj chwilkę…</strong>
<img src="form-kontakt/loading.gif" alt="Wysyłanie..." title="Sending Email" />
</p>
<p id="emailSuccess" style="display:none;">
<strong style="color:green;">Ok! Twój Email został wysłany.</strong>
</p>
<div id="contactFormArea">
<form action="form-kontakt/contact.php" method="post" id="cForm" color="black">
<fieldset>
<center><label for="posEmail"><font color="white">Email:<font color="black"></label>
<input class="text" type="text" size="20" name="posEmail" id="posEmail" /></center>
<label>
<center><input class="submit" type="submit" name="sendContactEmail" id="sendContactEmail" value=" Wyślij zaproszenie " /></center>
</label>
</fieldset>
</form>
</div>
<div class='note'>
<p><font color="white">Proszę wypełnić pole Email, aby otrzymac zaproszenie ;)<b>MARI</b></p>
<hr />
<p>Zaproszenie powinno dojść w ciągu 24h ;)</p>
<p>Pozdrawiam wszystkich ;)</p>
<p>Skrypt jest na licencji Creative Commons</p>
<p><b>Skrypt ten jest w trakcie testów, więc może nie działać poprawnie ;/</b></font></p></body>
</div></center>
</center>
</div>
</body>
</html>
formularz.php<?php
$polaczenie = mysql_connect ("xxxxx","xxxxx","xxxxx")or
die ("polaczanie nieudane"); $wynik=mysql_query('INSERT INTO `emaile` (`email`) values ("'.$_POST['posEmail].'")'); ?>
i co zrobic?