<html>
<head>
</head>
<?
$tytul = $_POST['Nazwa'];
$tresc = $_POST['Tresc'];
$miejscowosc = $_POST['Miejscowosc'];
$numer = $_POST['Numer_tel_oferty'];
$id = $_GET['id'];
if(file_exists("CONFIG/config.php")) require_once("CONFIG/config.php"); connect();
$zapytanie = "UPDATE ".PREFIX."oferty
SET Nazwa_oferty = '$tytul' Tresc_oferty = '$tresc' Miejscowosc_oferty = '$miejscowosc' Numer_tel_oferty = '$numer'
WHERE Id_oferty = '".$_GET['id']."';
$wynik = mysql_query($zapytanie) or die (mysql_error());
close();
?>
<body>
<form method='POST' action='ogloszenia.php'>
<button type="submit" name="Zobacz_ogloszenia" style="background-color: blue; width:400px; height:40px;background-repeat: no-repeat; background-size: 150% 150%;font-size:20pt;color: white; position: relative; left: 0px; top: 240">Zobacz ogloszenia</button>
</form>
</body>
</html>
Błąd Parse error: syntax error, unexpected T_STRING in /home/students/ie2012/magick7/public_html/new/edytuj_oglo2.php on line 31
Oświeci mnie ktoś co za błąd popełniłem... (IMG:
style_emoticons/default/sad.gif) PHP byc ciężkie